home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-02-03 | 118.8 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
1%
| dexvert
| Banyans VINES patch data (other/banyansVINESPatchData)
| ext
| Unsupported |
1%
| dexvert
| PCP archive log (other/pcpArchiveLog)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Mar 26 02:21:23 1996, modified Mon Feb 3 13:12:51 1997, creator HyperCard, type HyperCard stack, 44416 bytes "PMT 2.0" , at 0xae00 76975 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
| |
100%
| librempegprobeID
| NGC (Nintendo DSP Standard) (ngcdspstd)
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 50 4d 54 20 32 2e | 30 00 00 00 00 00 00 00 |..PMT 2.|0.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 ad 80 00 | 01 2c af ad 7d 4b 73 af |........|.,..}Ks.|
|00000060| 1b db 23 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..#.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 93 bd 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 00 ad 80 | 00 00 70 00 00 00 00 00 |........|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a e4 00 00 00 04 |........|........|
|000000b0| 00 00 0b a7 00 00 10 ee | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 30 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |.0... ..|. ... ..|
|000000f0| dd a1 87 92 00 00 00 00 | 00 4b 00 60 01 9b 02 20 |........|.K.`... |
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d d3 00 00 0c c3 | 01 50 01 c0 00 00 00 00 |........|.P......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 0d 2d 2d 20 50 41 | 4c 4d 45 44 49 41 20 4d |--.-- PA|LMEDIA M|
|00000690| 65 64 69 61 20 54 72 61 | 6e 73 66 65 72 20 56 32 |edia Tra|nsfer V2|
|000006a0| 2e 30 20 20 31 32 2f 39 | 36 0d 2d 2d 20 41 64 64 |.0 12/9|6.-- Add|
|000006b0| 65 64 20 58 6f 6e 2f 58 | 6f 66 66 20 68 61 6e 64 |ed Xon/X|off hand|
|000006c0| 73 68 61 6b 69 6e 67 20 | 28 6e 6f 20 6d 6f 72 65 |shaking |(no more|
|000006d0| 20 70 72 65 2d 74 69 6d | 65 64 20 64 65 6c 61 79 | pre-tim|ed delay|
|000006e0| 73 20 77 68 65 6e 20 74 | 72 61 6e 73 6d 69 74 74 |s when t|ransmitt|
|000006f0| 69 6e 67 0d 2d 2d 20 20 | 20 20 20 20 20 53 6c 75 |ing.-- | Slu|
|00000700| 72 70 65 65 20 66 69 6c | 65 73 20 74 6f 20 74 68 |rpee fil|es to th|
|00000710| 65 20 4e 65 77 74 6f 6e | 2e 0d 2d 2d 20 52 65 6d |e Newton|..-- Rem|
|00000720| 6f 76 65 64 20 53 50 6f | 72 74 20 42 75 66 66 65 |oved SPo|rt Buffe|
|00000730| 72 20 61 6c 6c 6f 63 61 | 74 69 6f 6e 2e 20 20 49 |r alloca|tion. I|
|00000740| 66 20 48 79 70 65 72 43 | 61 72 64 20 63 72 61 73 |f HyperC|ard cras|
|00000750| 68 65 73 20 74 68 65 20 | 62 75 66 66 65 72 73 20 |hes the |buffers |
|00000760| 6d 61 79 0d 2d 2d 20 20 | 20 20 20 20 20 62 65 20 |may.-- | be |
|00000770| 6c 65 66 74 20 6f 70 65 | 6e 2e 20 20 54 68 65 20 |left ope|n. The |
|00000780| 66 69 78 20 69 73 20 74 | 6f 20 72 65 6d 6f 76 65 |fix is t|o remove|
|00000790| 20 53 50 6f 72 74 20 42 | 75 66 66 65 72 20 61 6c | SPort B|uffer al|
|000007a0| 6c 6f 63 61 74 69 6f 6e | 73 2e 0d 2d 2d 20 41 64 |location|s..-- Ad|
|000007b0| 64 65 64 20 43 6f 6e 76 | 65 72 74 65 72 73 20 66 |ded Conv|erters f|
|000007c0| 6f 72 20 63 72 65 61 74 | 69 6e 67 20 53 6c 75 72 |or creat|ing Slur|
|000007d0| 70 65 65 20 66 6f 72 6d | 61 74 74 65 64 20 66 69 |pee form|atted fi|
|000007e0| 6c 65 73 20 66 72 6f 6d | 20 61 20 73 69 6e 67 6c |les from| a singl|
|000007f0| 65 0d 2d 2d 20 20 20 20 | 20 20 20 50 49 43 54 20 |e.-- | PICT |
|00000800| 66 69 6c 65 20 6f 72 20 | 61 20 66 6f 6c 64 65 72 |file or |a folder|
|00000810| 20 6f 66 20 50 49 43 54 | 20 66 69 6c 65 73 2e 0d | of PICT| files..|
|00000820| 2d 2d 20 41 64 64 65 64 | 20 43 6f 6e 76 65 72 74 |-- Added| Convert|
|00000830| 65 72 20 66 6f 72 20 63 | 72 65 61 74 69 6e 67 20 |er for c|reating |
|00000840| 61 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 50 49 |a sequen|ce of PI|
|00000850| 43 54 20 66 69 6c 65 73 | 20 66 72 6f 6d 20 61 20 |CT files| from a |
|00000860| 73 69 6e 67 6c 65 0d 2d | 2d 20 20 20 20 20 20 20 |single.-|- |
|00000870| 51 75 69 63 6b 54 69 6d | 65 20 6d 6f 76 69 65 2e |QuickTim|e movie.|
|00000880| 20 20 55 73 65 20 74 68 | 65 20 50 49 43 54 20 66 | Use th|e PICT f|
|00000890| 6f 6c 64 65 72 20 63 6f | 6e 76 65 72 74 65 72 20 |older co|nverter |
|000008a0| 74 6f 20 74 72 61 6e 73 | 66 6f 72 6d 0d 2d 2d 20 |to trans|form.-- |
|000008b0| 20 20 20 20 20 20 74 68 | 65 20 50 49 43 54 20 66 | th|e PICT f|
|000008c0| 69 6c 65 20 73 65 71 75 | 65 6e 63 65 20 74 6f 20 |ile sequ|ence to |
|000008d0| 53 6c 75 72 70 65 65 20 | 66 69 6c 65 73 2e 20 20 |Slurpee |files. |
|000008e0| 54 68 65 6e 20 75 73 65 | 20 74 68 65 20 62 61 74 |Then use| the bat|
|000008f0| 63 68 0d 2d 2d 20 20 20 | 20 20 20 20 74 72 61 6e |ch.-- | tran|
|00000900| 73 66 65 72 20 6d 6f 64 | 65 20 74 6f 20 73 65 6e |sfer mod|e to sen|
|00000910| 64 20 74 68 65 20 53 6c | 75 72 70 65 65 20 66 69 |d the Sl|urpee fi|
|00000920| 6c 65 73 20 74 6f 20 74 | 68 65 20 4e 65 77 74 6f |les to t|he Newto|
|00000930| 6e 2e 0d 2d 2d 20 41 64 | 64 65 64 20 22 4f 6e 65 |n..-- Ad|ded "One|
|00000940| 20 62 75 74 74 6f 6e 22 | 20 63 6f 6e 76 65 72 73 | button"| convers|
|00000950| 69 6f 6e 2f 74 72 61 6e | 73 66 65 72 20 6f 66 20 |ion/tran|sfer of |
|00000960| 51 75 69 63 6b 54 69 6d | 65 20 6d 6f 76 69 65 73 |QuickTim|e movies|
|00000970| 20 74 6f 20 74 68 65 20 | 4e 65 77 74 6f 6e 2e 0d | to the |Newton..|
|00000980| 2d 2d 20 41 64 64 65 64 | 20 50 49 43 54 20 73 63 |-- Added| PICT sc|
|00000990| 61 6c 69 6e 67 2e 20 20 | 49 6d 61 67 65 73 20 77 |aling. |Images w|
|000009a0| 69 6c 6c 20 62 65 20 73 | 63 61 6c 65 64 20 74 6f |ill be s|caled to|
|000009b0| 20 65 69 74 68 65 72 20 | 70 6f 72 74 72 61 69 74 | either |portrait|
|000009c0| 20 6f 72 0d 2d 2d 20 20 | 20 20 20 20 20 6c 61 6e | or.-- | lan|
|000009d0| 64 73 63 61 70 65 20 6d | 6f 64 65 20 28 64 65 70 |dscape m|ode (dep|
|000009e0| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 68 65 |ending o|n the he|
|000009f0| 69 67 68 74 2f 77 69 64 | 74 68 20 72 61 74 69 6f |ight/wid|th ratio|
|00000a00| 29 2e 0d 2d 2d 0d 6f 6e | 20 63 6c 6f 73 65 53 74 |)..--.on| closeSt|
|00000a10| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 67 50 6f 72 74 |ack.glob|al gPort|
|00000a20| 41 63 74 69 76 65 2c 20 | 67 4c 61 73 74 46 69 6c |Active, |gLastFil|
|00000a30| 65 2c 20 67 46 6f 6c 64 | 65 72 4e 61 6d 65 2c 20 |e, gFold|erName, |
|00000a40| 67 53 6c 75 72 70 65 65 | 46 69 6c 65 4c 69 73 74 |gSlurpee|FileList|
|00000a50| 0d 63 6c 6f 73 65 53 50 | 6f 72 74 0d 67 6f 20 63 |.closeSP|ort.go c|
|00000a60| 61 72 64 20 31 0d 70 75 | 74 20 22 44 61 74 61 20 |ard 1.pu|t "Data |
|00000a70| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 69 73 20 69 6e |connecti|on is in|
|00000a80| 61 63 74 69 76 65 2e 22 | 20 69 6e 74 6f 20 63 64 |active."| into cd|
|00000a90| 20 66 6c 64 20 22 49 6e | 66 6f 72 6d 61 74 69 6f | fld "In|formatio|
|00000aa0| 6e 22 0d 70 75 74 20 22 | 6e 6f 22 20 69 6e 74 6f |n".put "|no" into|
|00000ab0| 20 67 50 6f 72 74 41 63 | 74 69 76 65 0d 70 75 74 | gPortAc|tive.put|
|00000ac0| 20 22 22 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 | "" into| cd fld |
|00000ad0| 22 42 79 74 65 73 22 0d | 70 75 74 20 22 22 20 69 |"Bytes".|put "" i|
|00000ae0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 4f 76 65 72 |nto cd f|ld "Over|
|00000af0| 72 69 64 65 53 6f 75 70 | 4e 61 6d 65 22 0d 70 75 |rideSoup|Name".pu|
|00000b00| 74 20 22 22 20 69 6e 74 | 6f 20 67 4c 61 73 74 46 |t "" int|o gLastF|
|00000b10| 69 6c 65 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |ile.put |"" into |
|00000b20| 67 46 6f 6c 64 65 72 4e | 61 6d 65 0d 70 75 74 20 |gFolderN|ame.put |
|00000b30| 22 22 20 69 6e 74 6f 20 | 67 53 6c 75 72 70 65 65 |"" into |gSlurpee|
|00000b40| 46 69 6c 65 4c 69 73 74 | 0d 65 6e 64 20 63 6c 6f |FileList|.end clo|
|00000b50| 73 65 53 74 61 63 6b 0d | 0d 6f 6e 20 6f 70 65 6e |seStack.|.on open|
|00000b60| 53 74 61 63 6b 0d 67 6c | 6f 62 61 6c 20 67 50 6f |Stack.gl|obal gPo|
|00000b70| 72 74 41 63 74 69 76 65 | 2c 20 67 50 6f 72 74 2c |rtActive|, gPort,|
|00000b80| 20 67 53 70 65 65 64 2c | 20 67 44 65 6c 61 79 4d | gSpeed,| gDelayM|
|00000b90| 6f 64 65 2c 20 67 4c 61 | 73 74 46 69 6c 65 2c 20 |ode, gLa|stFile, |
|00000ba0| 67 46 6f 6c 64 65 72 4e | 61 6d 65 2c 20 67 53 6c |gFolderN|ame, gSl|
|00000bb0| 75 72 70 65 65 46 69 6c | 65 4c 69 73 74 0d 2d 2d |urpeeFil|eList.--|
|00000bc0| 20 63 6c 6f 73 65 53 50 | 6f 72 74 0d 73 65 74 20 | closeSP|ort.set |
|00000bd0| 75 73 65 72 6c 65 76 65 | 6c 20 74 6f 20 35 0d 70 |userleve|l to 5.p|
|00000be0| 75 74 20 22 50 41 4c 4d | 45 44 49 41 20 4d 65 64 |ut "PALM|EDIA Med|
|00000bf0| 69 61 20 54 72 61 6e 73 | 66 65 72 20 56 65 72 73 |ia Trans|fer Vers|
|00000c00| 69 6f 6e 20 32 2e 30 2e | 20 20 44 61 74 61 20 63 |ion 2.0.| Data c|
|00000c10| 6f 6e 6e 65 63 74 69 6f | 6e 20 69 73 20 69 6e 61 |onnectio|n is ina|
|00000c20| 63 74 69 76 65 2e 22 20 | 69 6e 74 6f 20 63 64 20 |ctive." |into cd |
|00000c30| 66 6c 64 20 22 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |fld "Inf|ormation|
|00000c40| 22 0d 70 75 74 20 22 6e | 6f 22 20 69 6e 74 6f 20 |".put "n|o" into |
|00000c50| 67 50 6f 72 74 41 63 74 | 69 76 65 0d 70 75 74 20 |gPortAct|ive.put |
|00000c60| 22 22 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |"" into |cd fld "|
|00000c70| 42 79 74 65 73 22 0d 70 | 75 74 20 22 22 20 69 6e |Bytes".p|ut "" in|
|00000c80| 74 6f 20 63 64 20 66 6c | 64 20 22 4f 76 65 72 72 |to cd fl|d "Overr|
|00000c90| 69 64 65 53 6f 75 70 4e | 61 6d 65 22 0d 70 75 74 |ideSoupN|ame".put|
|00000ca0| 20 22 22 20 69 6e 74 6f | 20 67 4c 61 73 74 46 69 | "" into| gLastFi|
|00000cb0| 6c 65 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 67 |le.put "|" into g|
|00000cc0| 46 6f 6c 64 65 72 4e 61 | 6d 65 0d 70 75 74 20 22 |FolderNa|me.put "|
|00000cd0| 22 20 69 6e 74 6f 20 67 | 53 6c 75 72 70 65 65 46 |" into g|SlurpeeF|
|00000ce0| 69 6c 65 4c 69 73 74 0d | 68 69 64 65 20 62 61 63 |ileList.|hide bac|
|00000cf0| 6b 67 72 6f 75 6e 64 20 | 66 6c 64 20 22 50 6f 72 |kground |fld "Por|
|00000d00| 74 56 61 75 6c 74 22 20 | 6f 66 20 63 61 72 64 20 |tVault" |of card |
|00000d10| 22 53 65 74 55 70 43 61 | 72 64 22 0d 68 69 64 65 |"SetUpCa|rd".hide|
|00000d20| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 66 6c 64 20 | backgro|und fld |
|00000d30| 22 53 70 65 65 64 56 61 | 75 6c 74 22 20 6f 66 20 |"SpeedVa|ult" of |
|00000d40| 63 61 72 64 20 22 53 65 | 74 55 70 43 61 72 64 22 |card "Se|tUpCard"|
|00000d50| 0d 68 69 64 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |.hide ba|ckground|
|00000d60| 20 66 6c 64 20 22 44 65 | 6c 61 79 4d 6f 64 65 56 | fld "De|layModeV|
|00000d70| 61 75 6c 74 22 20 6f 66 | 20 63 61 72 64 20 22 53 |ault" of| card "S|
|00000d80| 65 74 55 70 43 61 72 64 | 22 0d 70 75 74 20 62 61 |etUpCard|".put ba|
|00000d90| 63 6b 67 72 6f 75 6e 64 | 20 66 6c 64 20 22 50 6f |ckground| fld "Po|
|00000da0| 72 74 56 61 75 6c 74 22 | 20 6f 66 20 63 61 72 64 |rtVault"| of card|
|00000db0| 20 22 53 65 74 55 70 43 | 61 72 64 22 20 69 6e 74 | "SetUpC|ard" int|
|00000dc0| 6f 20 73 61 76 65 64 50 | 6f 72 74 0d 70 75 74 20 |o savedP|ort.put |
|00000dd0| 62 61 63 6b 67 72 6f 75 | 6e 64 20 66 6c 64 20 22 |backgrou|nd fld "|
|00000de0| 53 70 65 65 64 56 61 75 | 6c 74 22 20 6f 66 20 63 |SpeedVau|lt" of c|
|00000df0| 61 72 64 20 22 53 65 74 | 55 70 43 61 72 64 22 20 |ard "Set|UpCard" |
|00000e00| 69 6e 74 6f 20 73 61 76 | 65 64 53 70 65 65 64 0d |into sav|edSpeed.|
|00000e10| 69 66 20 73 61 76 65 64 | 50 6f 72 74 20 63 6f 6e |if saved|Port con|
|00000e20| 74 61 69 6e 73 20 22 31 | 22 20 74 68 65 6e 20 70 |tains "1|" then p|
|00000e30| 75 74 20 22 70 72 69 6e | 74 65 72 50 6f 72 74 22 |ut "prin|terPort"|
|00000e40| 20 69 6e 74 6f 20 67 50 | 6f 72 74 0d 69 66 20 73 | into gP|ort.if s|
|00000e50| 61 76 65 64 50 6f 72 74 | 20 63 6f 6e 74 61 69 6e |avedPort| contain|
|00000e60| 73 20 22 32 22 20 74 68 | 65 6e 20 70 75 74 20 22 |s "2" th|en put "|
|00000e70| 6d 6f 64 65 6d 50 6f 72 | 74 22 20 69 6e 74 6f 20 |modemPor|t" into |
|00000e80| 67 50 6f 72 74 0d 69 66 | 20 73 61 76 65 64 53 70 |gPort.if| savedSp|
|00000e90| 65 65 64 20 63 6f 6e 74 | 61 69 6e 73 20 22 33 22 |eed cont|ains "3"|
|00000ea0| 20 74 68 65 6e 20 70 75 | 74 20 22 62 61 75 64 35 | then pu|t "baud5|
|00000eb0| 37 36 30 30 22 20 69 6e | 74 6f 20 67 53 70 65 65 |7600" in|to gSpee|
|00000ec0| 64 0d 69 66 20 73 61 76 | 65 64 53 70 65 65 64 20 |d.if sav|edSpeed |
|00000ed0| 63 6f 6e 74 61 69 6e 73 | 20 22 34 22 20 74 68 65 |contains| "4" the|
|00000ee0| 6e 20 70 75 74 20 22 62 | 61 75 64 31 39 32 30 30 |n put "b|aud19200|
|00000ef0| 22 20 69 6e 74 6f 20 67 | 53 70 65 65 64 0d 69 66 |" into g|Speed.if|
|00000f00| 20 73 61 76 65 64 53 70 | 65 65 64 20 63 6f 6e 74 | savedSp|eed cont|
|00000f10| 61 69 6e 73 20 22 35 22 | 20 74 68 65 6e 20 70 75 |ains "5"| then pu|
|00000f20| 74 20 22 62 61 75 64 39 | 36 30 30 22 20 69 6e 74 |t "baud9|600" int|
|00000f30| 6f 20 67 53 70 65 65 64 | 0d 64 6f 4d 65 6e 75 20 |o gSpeed|.doMenu |
|00000f40| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".|
|00000f50| 65 6e 64 20 6f 70 65 6e | 53 74 61 63 6b 0d 0d 6f |end open|Stack..o|
|00000f60| 6e 20 43 6f 6e 66 69 67 | 75 72 65 53 65 74 74 69 |n Config|ureSetti|
|00000f70| 6e 67 73 0d 67 6c 6f 62 | 61 6c 20 67 50 6f 72 74 |ngs.glob|al gPort|
|00000f80| 41 63 74 69 76 65 0d 69 | 66 20 67 50 6f 72 74 41 |Active.i|f gPortA|
|00000f90| 63 74 69 76 65 20 63 6f | 6e 74 61 69 6e 73 20 22 |ctive co|ntains "|
|00000fa0| 79 65 73 22 20 74 68 65 | 6e 0d 70 75 74 20 22 43 |yes" the|n.put "C|
|00000fb0| 6f 6e 6e 65 63 74 69 6f | 6e 20 77 61 73 20 74 65 |onnectio|n was te|
|00000fc0| 72 6d 69 6e 61 74 65 64 | 20 2d 20 72 65 63 6f 6e |rminated| - recon|
|00000fd0| 6e 65 63 74 20 74 6f 20 | 6d 61 6b 65 20 73 65 74 |nect to |make set|
|00000fe0| 74 69 6e 67 73 20 74 61 | 6b 65 20 65 66 66 65 63 |tings ta|ke effec|
|00000ff0| 74 2e 22 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |t." into| cd fld |
|00001000| 22 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 22 0d 70 75 |"Informa|tion".pu|
|00001010| 74 20 22 6e 6f 22 20 69 | 6e 74 6f 20 67 50 6f 72 |t "no" i|nto gPor|
|00001020| 74 41 63 74 69 76 65 0d | 63 6c 6f 73 65 53 50 6f |tActive.|closeSPo|
|00001030| 72 74 0d 65 6e 64 20 69 | 66 0d 67 6f 20 63 61 72 |rt.end i|f.go car|
|00001040| 64 20 33 0d 65 6e 64 20 | 43 6f 6e 66 69 67 75 72 |d 3.end |Configur|
|00001050| 65 53 65 74 74 69 6e 67 | 73 0d 0d 6f 6e 20 53 65 |eSetting|s..on Se|
|00001060| 74 43 6f 6e 6e 65 63 74 | 69 6f 6e 0d 67 6c 6f 62 |tConnect|ion.glob|
|00001070| 61 6c 20 67 50 6f 72 74 | 41 63 74 69 76 65 2c 20 |al gPort|Active, |
|00001080| 67 50 6f 72 74 2c 20 67 | 53 70 65 65 64 2c 20 67 |gPort, g|Speed, g|
|00001090| 44 65 6c 61 79 4d 6f 64 | 65 2c 20 67 53 70 65 65 |DelayMod|e, gSpee|
|000010a0| 64 54 65 78 74 2c 20 67 | 50 6f 72 74 54 65 78 74 |dText, g|PortText|
|000010b0| 2c 20 67 44 65 6c 61 79 | 4d 6f 64 65 54 65 78 74 |, gDelay|ModeText|
|000010c0| 0d 54 65 78 74 50 6f 72 | 74 53 65 74 75 70 0d 63 |.TextPor|tSetup.c|
|000010d0| 6f 6e 66 69 67 75 72 65 | 53 50 6f 72 74 20 67 50 |onfigure|SPort gP|
|000010e0| 6f 72 74 2c 67 53 70 65 | 65 64 2c 64 61 74 61 38 |ort,gSpe|ed,data8|
|000010f0| 2c 73 74 6f 70 31 30 2c | 70 61 72 69 74 79 4f 66 |,stop10,|parityOf|
|00001100| 66 2c 58 4f 6e 4f 75 74 | 4f 6e 2c 73 74 72 69 70 |f,XOnOut|On,strip|
|00001110| 4f 6e 2c 53 74 72 69 70 | 43 6f 6e 74 72 6f 6c 73 |On,Strip|Controls|
|00001120| 4f 66 66 0d 2d 2d 20 73 | 65 74 53 50 6f 72 74 42 |Off.-- s|etSPortB|
|00001130| 75 66 66 65 72 53 69 7a | 65 20 31 36 33 38 34 0d |ufferSiz|e 16384.|
|00001140| 70 75 74 20 67 50 6f 72 | 74 54 65 78 74 20 26 20 |put gPor|tText & |
|00001150| 22 20 63 6f 6e 66 69 67 | 75 72 65 64 20 61 74 20 |" config|ured at |
|00001160| 22 20 26 20 67 53 70 65 | 65 64 54 65 78 74 20 26 |" & gSpe|edText &|
|00001170| 20 22 2e 20 20 44 61 74 | 61 20 63 6f 6e 6e 65 63 | ". Dat|a connec|
|00001180| 74 69 6f 6e 20 69 73 20 | 61 63 74 69 76 65 2e 22 |tion is |active."|
|00001190| 20 26 20 c2 0d 22 20 20 | 4c 61 75 6e 63 68 20 53 | & .." |Launch S|
|000011a0| 6c 75 72 70 65 65 20 6f | 6e 20 74 68 65 20 4e 65 |lurpee o|n the Ne|
|000011b0| 77 74 6f 6e 2c 20 74 68 | 65 6e 20 54 72 61 6e 73 |wton, th|en Trans|
|000011c0| 66 65 72 20 49 6d 61 67 | 65 73 20 28 53 74 65 70 |fer Imag|es (Step|
|000011d0| 20 34 29 2e 22 20 69 6e | 74 6f 20 63 64 20 66 6c | 4)." in|to cd fl|
|000011e0| 64 20 22 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |d "Infor|mation".|
|000011f0| 70 75 74 20 22 79 65 73 | 22 20 69 6e 74 6f 20 67 |put "yes|" into g|
|00001200| 50 6f 72 74 41 63 74 69 | 76 65 0d 70 75 74 20 22 |PortActi|ve.put "|
|00001210| 22 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 42 |" into c|d fld "B|
|00001220| 79 74 65 73 22 0d 65 6e | 64 20 53 65 74 43 6f 6e |ytes".en|d SetCon|
|00001230| 6e 65 63 74 69 6f 6e 0d | 0d 6f 6e 20 44 69 73 63 |nection.|.on Disc|
|00001240| 6f 6e 6e 65 63 74 46 72 | 6f 6d 4e 65 77 74 6f 6e |onnectFr|omNewton|
|00001250| 0d 67 6c 6f 62 61 6c 20 | 67 50 6f 72 74 41 63 74 |.global |gPortAct|
|00001260| 69 76 65 0d 63 6c 6f 73 | 65 53 50 6f 72 74 0d 70 |ive.clos|eSPort.p|
|00001270| 75 74 20 22 50 6f 72 74 | 20 43 6c 6f 73 65 64 2e |ut "Port| Closed.|
|00001280| 20 20 44 61 74 61 20 63 | 6f 6e 6e 65 63 74 69 6f | Data c|onnectio|
|00001290| 6e 20 69 73 20 69 6e 61 | 63 74 69 76 65 2e 22 20 |n is ina|ctive." |
|000012a0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 49 6e 66 |into cd |fld "Inf|
|000012b0| 6f 72 6d 61 74 69 6f 6e | 22 0d 70 75 74 20 22 6e |ormation|".put "n|
|000012c0| 6f 22 20 69 6e 74 6f 20 | 67 50 6f 72 74 41 63 74 |o" into |gPortAct|
|000012d0| 69 76 65 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |ive.put |"" into |
|000012e0| 63 64 20 66 6c 64 20 22 | 42 79 74 65 73 22 0d 65 |cd fld "|Bytes".e|
|000012f0| 6e 64 20 44 69 73 63 6f | 6e 6e 65 63 74 46 72 6f |nd Disco|nnectFro|
|00001300| 6d 4e 65 77 74 6f 6e 0d | 0d 6f 6e 20 53 65 6e 64 |mNewton.|.on Send|
|00001310| 53 6c 75 72 70 65 65 46 | 69 6c 65 0d 67 6c 6f 62 |SlurpeeF|ile.glob|
|00001320| 61 6c 20 67 50 6f 72 74 | 41 63 74 69 76 65 2c 20 |al gPort|Active, |
|00001330| 67 44 65 6c 61 79 4d 6f | 64 65 2c 20 67 46 69 6c |gDelayMo|de, gFil|
|00001340| 65 62 75 66 66 65 72 2c | 20 67 53 6f 75 70 4e 61 |ebuffer,| gSoupNa|
|00001350| 6d 65 2c 20 67 4e 61 6d | 65 4c 65 6e 67 74 68 2c |me, gNam|eLength,|
|00001360| 20 67 4c 61 73 74 46 69 | 6c 65 0d 69 66 20 67 50 | gLastFi|le.if gP|
|00001370| 6f 72 74 41 63 74 69 76 | 65 20 63 6f 6e 74 61 69 |ortActiv|e contai|
|00001380| 6e 73 20 22 6e 6f 22 20 | 74 68 65 6e 0d 62 65 65 |ns "no" |then.bee|
|00001390| 70 0d 61 6e 73 77 65 72 | 20 22 50 6c 65 61 73 65 |p.answer| "Please|
|000013a0| 20 63 6f 6e 6e 65 63 74 | 20 74 6f 20 74 68 65 20 | connect| to the |
|000013b0| 4e 65 77 74 6f 6e 20 28 | 53 74 65 70 20 32 29 20 |Newton (|Step 2) |
|000013c0| 62 65 66 6f 72 65 20 74 | 72 61 6e 73 66 65 72 72 |before t|ransferr|
|000013d0| 69 6e 67 2e 2e 2e 22 20 | 77 69 74 68 20 22 4f 4b |ing..." |with "OK|
|000013e0| 22 0d 65 78 69 74 20 53 | 65 6e 64 53 6c 75 72 70 |".exit S|endSlurp|
|000013f0| 65 65 46 69 6c 65 0d 65 | 6e 64 20 69 66 0d 70 75 |eeFile.e|nd if.pu|
|00001400| 74 20 22 22 20 69 6e 74 | 6f 20 57 61 72 6e 69 6e |t "" int|o Warnin|
|00001410| 67 0d 69 66 20 63 64 20 | 66 6c 64 20 22 4f 76 65 |g.if cd |fld "Ove|
|00001420| 72 72 69 64 65 53 6f 75 | 70 4e 61 6d 65 22 20 69 |rrideSou|pName" i|
|00001430| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00001440| 20 70 75 74 20 22 57 61 | 72 6e 69 6e 67 21 20 20 | put "Wa|rning! |
|00001450| 54 68 65 20 6e 65 77 20 | 64 65 73 74 69 6e 61 74 |The new |destinat|
|00001460| 69 6f 6e 20 73 6f 75 70 | 20 69 73 3a 20 22 20 26 |ion soup| is: " &|
|00001470| 20 63 64 20 66 6c 64 20 | 22 4f 76 65 72 72 69 64 | cd fld |"Overrid|
|00001480| 65 53 6f 75 70 4e 61 6d | 65 22 20 69 6e 74 6f 20 |eSoupNam|e" into |
|00001490| 57 61 72 6e 69 6e 67 0d | 61 6e 73 77 65 72 20 66 |Warning.|answer f|
|000014a0| 69 6c 65 20 22 4c 6f 63 | 61 74 65 20 61 20 53 6c |ile "Loc|ate a Sl|
|000014b0| 75 72 70 65 65 20 28 2e | 73 6c 70 29 20 66 69 6c |urpee (.|slp) fil|
|000014c0| 65 20 74 6f 20 74 72 61 | 6e 73 66 65 72 2e 22 26 |e to tra|nsfer."&|
|000014d0| 72 65 74 75 72 6e 26 67 | 4c 61 73 74 46 69 6c 65 |return&g|LastFile|
|000014e0| 26 72 65 74 75 72 6e 26 | 57 61 72 6e 69 6e 67 20 |&return&|Warning |
|000014f0| 6f 66 20 74 79 70 65 20 | 74 65 78 74 0d 70 75 74 |of type |text.put|
|00001500| 20 69 74 20 69 6e 74 6f | 20 73 6c 75 72 70 65 65 | it into| slurpee|
|00001510| 66 69 6c 65 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |file.put| "" into|
|00001520| 20 6c 61 73 74 66 69 6c | 65 6e 61 6d 65 0d 69 66 | lastfil|ename.if|
|00001530| 20 73 6c 75 72 70 65 65 | 66 69 6c 65 20 69 73 20 | slurpee|file is |
|00001540| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00001550| 53 65 6e 64 53 6c 75 72 | 70 65 65 46 69 6c 65 0d |SendSlur|peeFile.|
|00001560| 6f 70 65 6e 20 66 69 6c | 65 20 73 6c 75 72 70 65 |open fil|e slurpe|
|00001570| 65 66 69 6c 65 0d 72 65 | 61 64 20 66 72 6f 6d 20 |efile.re|ad from |
|00001580| 66 69 6c 65 20 73 6c 75 | 72 70 65 65 66 69 6c 65 |file slu|rpeefile|
|00001590| 20 75 6e 74 69 6c 20 65 | 6d 70 74 79 0d 63 6c 6f | until e|mpty.clo|
|000015a0| 73 65 20 66 69 6c 65 20 | 73 6c 75 72 70 65 65 66 |se file |slurpeef|
|000015b0| 69 6c 65 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ile.put |it into |
|000015c0| 67 46 69 6c 65 62 75 66 | 66 65 72 0d 69 66 20 63 |gFilebuf|fer.if c|
|000015d0| 68 61 72 20 31 20 6f 66 | 20 6c 69 6e 65 20 32 20 |har 1 of| line 2 |
|000015e0| 6f 66 20 67 46 69 6c 65 | 62 75 66 66 65 72 20 69 |of gFile|buffer i|
|000015f0| 73 20 6e 6f 74 20 22 7b | 22 20 74 68 65 6e 0d 62 |s not "{|" then.b|
|00001600| 65 65 70 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |eep.answ|er "This|
|00001610| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 61 20 53 | file is| not a S|
|00001620| 6c 75 72 70 65 65 20 66 | 69 6c 65 2e 22 20 77 69 |lurpee f|ile." wi|
|00001630| 74 68 20 22 43 6f 6e 74 | 69 6e 75 65 22 20 6f 72 |th "Cont|inue" or|
|00001640| 20 22 43 61 6e 63 65 6c | 22 0d 69 66 20 69 74 20 | "Cancel|".if it |
|00001650| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|00001660| 20 65 78 69 74 20 53 65 | 6e 64 53 6c 75 72 70 65 | exit Se|ndSlurpe|
|00001670| 65 46 69 6c 65 0d 65 6e | 64 20 69 66 0d 70 75 74 |eFile.en|d if.put|
|00001680| 20 6c 65 6e 67 74 68 28 | 73 6c 75 72 70 65 65 66 | length(|slurpeef|
|00001690| 69 6c 65 29 20 69 6e 74 | 6f 20 63 68 61 72 63 6f |ile) int|o charco|
|000016a0| 75 6e 74 65 72 0d 72 65 | 70 65 61 74 0d 69 66 20 |unter.re|peat.if |
|000016b0| 63 68 61 72 61 63 74 65 | 72 20 63 68 61 72 63 6f |characte|r charco|
|000016c0| 75 6e 74 65 72 20 6f 66 | 20 73 6c 75 72 70 65 65 |unter of| slurpee|
|000016d0| 66 69 6c 65 20 69 73 20 | 22 3a 22 20 74 68 65 6e |file is |":" then|
|000016e0| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 70 75 74 | exit re|peat.put|
|000016f0| 20 28 63 68 61 72 61 63 | 74 65 72 20 63 68 61 72 | (charac|ter char|
|00001700| 63 6f 75 6e 74 65 72 20 | 6f 66 20 73 6c 75 72 70 |counter |of slurp|
|00001710| 65 65 66 69 6c 65 29 20 | 26 20 6c 61 73 74 66 69 |eefile) |& lastfi|
|00001720| 6c 65 6e 61 6d 65 20 69 | 6e 74 6f 20 6c 61 73 74 |lename i|nto last|
|00001730| 66 69 6c 65 6e 61 6d 65 | 0d 70 75 74 20 63 68 61 |filename|.put cha|
|00001740| 72 63 6f 75 6e 74 65 72 | 2d 31 20 69 6e 74 6f 20 |rcounter|-1 into |
|00001750| 63 68 61 72 63 6f 75 6e | 74 65 72 0d 69 66 20 63 |charcoun|ter.if c|
|00001760| 68 61 72 63 6f 75 6e 74 | 65 72 20 3c 20 31 20 74 |harcount|er < 1 t|
|00001770| 68 65 6e 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |hen exit| repeat.|
|00001780| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 22 |end repe|at.put "|
|00001790| 4c 61 73 74 20 66 69 6c | 65 20 77 61 73 3a 20 22 |Last fil|e was: "|
|000017a0| 26 6c 61 73 74 66 69 6c | 65 6e 61 6d 65 20 69 6e |&lastfil|ename in|
|000017b0| 74 6f 20 67 4c 61 73 74 | 46 69 6c 65 0d 69 66 20 |to gLast|File.if |
|000017c0| 6c 65 6e 67 74 68 28 6c | 69 6e 65 20 34 20 6f 66 |length(l|ine 4 of|
|000017d0| 20 67 46 69 6c 65 62 75 | 66 66 65 72 29 20 69 73 | gFilebu|ffer) is|
|000017e0| 20 6e 6f 74 20 33 33 20 | 74 68 65 6e 0d 62 65 65 | not 33 |then.bee|
|000017f0| 70 0d 61 6e 73 77 65 72 | 20 22 54 68 69 73 20 53 |p.answer| "This S|
|00001800| 6c 75 72 70 65 65 20 66 | 69 6c 65 20 28 22 26 6c |lurpee f|ile ("&l|
|00001810| 61 73 74 66 69 6c 65 6e | 61 6d 65 26 22 29 20 69 |astfilen|ame&") i|
|00001820| 73 20 63 6f 72 72 75 70 | 74 2e 20 20 54 68 65 20 |s corrup|t. The |
|00001830| 6f 72 69 67 69 6e 61 6c | 20 66 69 6c 65 20 69 73 |original| file is|
|00001840| 20 74 6f 6f 20 62 69 67 | 2e 22 20 77 69 74 68 20 | too big|." with |
|00001850| 22 4f 4b 22 0d 65 78 69 | 74 20 53 65 6e 64 53 6c |"OK".exi|t SendSl|
|00001860| 75 72 70 65 65 46 69 6c | 65 0d 65 6e 64 20 69 66 |urpeeFil|e.end if|
|00001870| 0d 47 65 74 53 6f 75 70 | 4e 61 6d 65 0d 69 66 20 |.GetSoup|Name.if |
|00001880| 63 64 20 66 6c 64 20 22 | 4f 76 65 72 72 69 64 65 |cd fld "|Override|
|00001890| 53 6f 75 70 4e 61 6d 65 | 22 20 69 73 20 6e 6f 74 |SoupName|" is not|
|000018a0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|000018b0| 63 64 20 66 6c 64 20 4f | 76 65 72 72 69 64 65 53 |cd fld O|verrideS|
|000018c0| 6f 75 70 4e 61 6d 65 20 | 69 6e 74 6f 20 67 53 6f |oupName |into gSo|
|000018d0| 75 70 4e 61 6d 65 0d 64 | 65 6c 65 74 65 20 63 68 |upName.d|elete ch|
|000018e0| 61 72 20 31 20 74 6f 20 | 67 4e 61 6d 65 4c 65 6e |ar 1 to |gNameLen|
|000018f0| 67 74 68 20 6f 66 20 67 | 46 69 6c 65 62 75 66 66 |gth of g|Filebuff|
|00001900| 65 72 0d 70 75 74 20 67 | 53 6f 75 70 4e 61 6d 65 |er.put g|SoupName|
|00001910| 20 62 65 66 6f 72 65 20 | 66 69 72 73 74 20 63 68 | before |first ch|
|00001920| 61 72 61 63 74 65 72 20 | 6f 66 20 67 46 69 6c 65 |aracter |of gFile|
|00001930| 62 75 66 66 65 72 0d 65 | 6e 64 20 69 66 0d 70 75 |buffer.e|nd if.pu|
|00001940| 74 20 22 53 65 6e 64 69 | 6e 67 20 53 6c 75 72 70 |t "Sendi|ng Slurp|
|00001950| 65 65 20 66 69 6c 65 20 | 74 6f 20 4e 65 77 74 6f |ee file |to Newto|
|00001960| 6e 20 73 6f 75 70 3a 20 | 22 20 26 20 67 53 6f 75 |n soup: |" & gSou|
|00001970| 70 4e 61 6d 65 20 26 20 | 22 2e 20 20 50 6c 65 61 |pName & |". Plea|
|00001980| 73 65 20 77 61 69 74 2e | 2e 2e 22 20 69 6e 74 6f |se wait.|.." into|
|00001990| 20 63 64 20 66 6c 64 20 | 22 49 6e 66 6f 72 6d 61 | cd fld |"Informa|
|000019a0| 74 69 6f 6e 22 0d 70 75 | 74 20 30 20 69 6e 74 6f |tion".pu|t 0 into|
|000019b0| 20 62 79 74 65 43 6f 75 | 6e 74 65 72 0d 73 65 74 | byteCou|nter.set|
|000019c0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000019d0| 0d 72 65 70 65 61 74 0d | 69 66 20 67 46 69 6c 65 |.repeat.|if gFile|
|000019e0| 62 75 66 66 65 72 20 69 | 73 20 65 6d 70 74 79 20 |buffer i|s empty |
|000019f0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00001a00| 0d 73 65 6e 64 53 50 6f | 72 74 20 63 68 61 72 20 |.sendSPo|rt char |
|00001a10| 31 20 74 6f 20 38 30 20 | 6f 66 20 67 46 69 6c 65 |1 to 80 |of gFile|
|00001a20| 62 75 66 66 65 72 0d 64 | 65 6c 65 74 65 20 63 68 |buffer.d|elete ch|
|00001a30| 61 72 20 31 20 74 6f 20 | 38 30 20 6f 66 20 67 46 |ar 1 to |80 of gF|
|00001a40| 69 6c 65 62 75 66 66 65 | 72 0d 70 75 74 20 28 62 |ilebuffe|r.put (b|
|00001a50| 79 74 65 43 6f 75 6e 74 | 65 72 20 2b 20 38 30 29 |yteCount|er + 80)|
|00001a60| 20 69 6e 74 6f 20 62 79 | 74 65 43 6f 75 6e 74 65 | into by|teCounte|
|00001a70| 72 0d 70 75 74 20 62 79 | 74 65 43 6f 75 6e 74 65 |r.put by|teCounte|
|00001a80| 72 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 42 |r into c|d fld "B|
|00001a90| 79 74 65 73 22 0d 65 6e | 64 20 72 65 70 65 61 74 |ytes".en|d repeat|
|00001aa0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 61 |.set cur|sor to a|
|00001ab0| 72 72 6f 77 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |rrow.put| "" into|
|00001ac0| 20 63 64 20 66 6c 64 20 | 22 42 79 74 65 73 22 0d | cd fld |"Bytes".|
|00001ad0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 67 46 69 6c |put "" i|nto gFil|
|00001ae0| 65 62 75 66 66 65 72 0d | 70 75 74 20 22 44 6f 6e |ebuffer.|put "Don|
|00001af0| 65 2e 20 20 53 65 6e 74 | 20 53 6c 75 72 70 65 65 |e. Sent| Slurpee|
|00001b00| 20 66 69 6c 65 20 74 6f | 20 4e 65 77 74 6f 6e 20 | file to| Newton |
|00001b10| 73 6f 75 70 3a 20 22 20 | 26 20 67 53 6f 75 70 4e |soup: " |& gSoupN|
|00001b20| 61 6d 65 20 26 20 22 2e | 20 20 44 61 74 61 20 63 |ame & ".| Data c|
|00001b30| 6f 6e 6e 65 63 74 69 6f | 6e 20 69 73 20 61 63 74 |onnectio|n is act|
|00001b40| 69 76 65 2e 22 20 69 6e | 74 6f 20 63 64 20 66 6c |ive." in|to cd fl|
|00001b50| 64 20 22 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |d "Infor|mation".|
|00001b60| 65 6e 64 20 53 65 6e 64 | 53 6c 75 72 70 65 65 46 |end Send|SlurpeeF|
|00001b70| 69 6c 65 0d 0d 6f 6e 20 | 54 65 78 74 50 6f 72 74 |ile..on |TextPort|
|00001b80| 53 65 74 75 70 0d 67 6c | 6f 62 61 6c 20 67 50 6f |Setup.gl|obal gPo|
|00001b90| 72 74 2c 20 67 53 70 65 | 65 64 2c 20 67 44 65 6c |rt, gSpe|ed, gDel|
|00001ba0| 61 79 4d 6f 64 65 2c 20 | 67 50 6f 72 74 54 65 78 |ayMode, |gPortTex|
|00001bb0| 74 2c 20 67 53 70 65 65 | 64 54 65 78 74 2c 20 67 |t, gSpee|dText, g|
|00001bc0| 44 65 6c 61 79 4d 6f 64 | 65 54 65 78 74 0d 69 66 |DelayMod|eText.if|
|00001bd0| 20 67 50 6f 72 74 20 63 | 6f 6e 74 61 69 6e 73 20 | gPort c|ontains |
|00001be0| 22 70 72 69 6e 74 65 72 | 50 6f 72 74 22 20 74 68 |"printer|Port" th|
|00001bf0| 65 6e 20 70 75 74 20 22 | 50 72 69 6e 74 65 72 20 |en put "|Printer |
|00001c00| 50 6f 72 74 22 20 69 6e | 74 6f 20 67 50 6f 72 74 |Port" in|to gPort|
|00001c10| 54 65 78 74 0d 69 66 20 | 67 50 6f 72 74 20 63 6f |Text.if |gPort co|
|00001c20| 6e 74 61 69 6e 73 20 22 | 6d 6f 64 65 6d 50 6f 72 |ntains "|modemPor|
|00001c30| 74 22 20 74 68 65 6e 20 | 70 75 74 20 22 4d 6f 64 |t" then |put "Mod|
|00001c40| 65 6d 20 50 6f 72 74 22 | 20 69 6e 74 6f 20 67 50 |em Port"| into gP|
|00001c50| 6f 72 74 54 65 78 74 0d | 69 66 20 67 53 70 65 65 |ortText.|if gSpee|
|00001c60| 64 20 63 6f 6e 74 61 69 | 6e 73 20 22 62 61 75 64 |d contai|ns "baud|
|00001c70| 35 37 36 30 30 22 20 74 | 68 65 6e 20 70 75 74 20 |57600" t|hen put |
|00001c80| 22 35 37 36 30 30 20 62 | 61 75 64 22 20 69 6e 74 |"57600 b|aud" int|
|00001c90| 6f 20 67 53 70 65 65 64 | 54 65 78 74 0d 69 66 20 |o gSpeed|Text.if |
|00001ca0| 67 53 70 65 65 64 20 63 | 6f 6e 74 61 69 6e 73 20 |gSpeed c|ontains |
|00001cb0| 22 62 61 75 64 31 39 32 | 30 30 22 20 74 68 65 6e |"baud192|00" then|
|00001cc0| 20 70 75 74 20 22 31 39 | 32 30 30 20 62 61 75 64 | put "19|200 baud|
|00001cd0| 22 20 69 6e 74 6f 20 67 | 53 70 65 65 64 54 65 78 |" into g|SpeedTex|
|00001ce0| 74 0d 69 66 20 67 53 70 | 65 65 64 20 63 6f 6e 74 |t.if gSp|eed cont|
|00001cf0| 61 69 6e 73 20 22 62 61 | 75 64 39 36 30 30 22 20 |ains "ba|ud9600" |
|00001d00| 74 68 65 6e 20 70 75 74 | 20 22 39 36 30 30 20 62 |then put| "9600 b|
|00001d10| 61 75 64 22 20 69 6e 74 | 6f 20 67 53 70 65 65 64 |aud" int|o gSpeed|
|00001d20| 54 65 78 74 0d 65 6e 64 | 20 54 65 78 74 50 6f 72 |Text.end| TextPor|
|00001d30| 74 53 65 74 75 70 0d 0d | 6f 6e 20 53 61 76 65 53 |tSetup..|on SaveS|
|00001d40| 65 74 74 69 6e 67 73 0d | 67 6c 6f 62 61 6c 20 67 |ettings.|global g|
|00001d50| 50 6f 72 74 2c 20 67 53 | 70 65 65 64 2c 20 67 44 |Port, gS|peed, gD|
|00001d60| 65 6c 61 79 4d 6f 64 65 | 0d 70 75 74 20 67 50 6f |elayMode|.put gPo|
|00001d70| 72 74 20 69 6e 74 6f 20 | 62 61 63 6b 67 72 6f 75 |rt into |backgrou|
|00001d80| 6e 64 20 66 6c 64 20 22 | 50 6f 72 74 56 61 75 6c |nd fld "|PortVaul|
|00001d90| 74 22 0d 70 75 74 20 67 | 53 70 65 65 64 20 69 6e |t".put g|Speed in|
|00001da0| 74 6f 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 66 6c |to backg|round fl|
|00001db0| 64 20 22 53 70 65 65 64 | 56 61 75 6c 74 22 0d 65 |d "Speed|Vault".e|
|00001dc0| 6e 64 20 53 61 76 65 53 | 65 74 74 69 6e 67 73 0d |nd SaveS|ettings.|
|00001dd0| 0d 6f 6e 20 47 65 74 53 | 6f 75 70 4e 61 6d 65 0d |.on GetS|oupName.|
|00001de0| 67 6c 6f 62 61 6c 20 67 | 46 69 6c 65 62 75 66 66 |global g|Filebuff|
|00001df0| 65 72 2c 20 67 53 6f 75 | 70 4e 61 6d 65 2c 20 67 |er, gSou|pName, g|
|00001e00| 4e 61 6d 65 4c 65 6e 67 | 74 68 0d 70 75 74 20 31 |NameLeng|th.put 1|
|00001e10| 20 69 6e 74 6f 20 78 0d | 70 75 74 20 22 22 20 69 | into x.|put "" i|
|00001e20| 6e 74 6f 20 67 53 6f 75 | 70 4e 61 6d 65 0d 72 65 |nto gSou|pName.re|
|00001e30| 70 65 61 74 0d 70 75 74 | 20 63 68 61 72 20 78 20 |peat.put| char x |
|00001e40| 6f 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 67 46 69 |of line |1 of gFi|
|00001e50| 6c 65 62 75 66 66 65 72 | 20 69 6e 74 6f 20 73 63 |lebuffer| into sc|
|00001e60| 61 6e 63 68 61 72 61 63 | 74 65 72 0d 69 66 20 73 |ancharac|ter.if s|
|00001e70| 63 61 6e 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |canchara|cter is |
|00001e80| 22 5b 22 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |"[" then| exit re|
|00001e90| 70 65 61 74 0d 69 66 20 | 73 63 61 6e 63 68 61 72 |peat.if |scanchar|
|00001ea0| 61 63 74 65 72 20 69 73 | 20 22 21 22 20 74 68 65 |acter is| "!" the|
|00001eb0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 70 75 |n exit r|epeat.pu|
|00001ec0| 74 20 67 53 6f 75 70 4e | 61 6d 65 20 26 20 73 63 |t gSoupN|ame & sc|
|00001ed0| 61 6e 63 68 61 72 61 63 | 74 65 72 20 69 6e 74 6f |ancharac|ter into|
|00001ee0| 20 67 53 6f 75 70 4e 61 | 6d 65 0d 70 75 74 20 28 | gSoupNa|me.put (|
|00001ef0| 78 2b 31 29 20 69 6e 74 | 6f 20 78 0d 65 6e 64 20 |x+1) int|o x.end |
|00001f00| 72 65 70 65 61 74 0d 70 | 75 74 20 28 78 2d 31 29 |repeat.p|ut (x-1)|
|00001f10| 20 69 6e 74 6f 20 67 4e | 61 6d 65 4c 65 6e 67 74 | into gN|ameLengt|
|00001f20| 68 0d 65 6e 64 20 47 65 | 74 53 6f 75 70 4e 61 6d |h.end Ge|tSoupNam|
|00001f30| 65 0d 0d 6f 6e 20 42 61 | 74 63 68 53 65 6e 64 53 |e..on Ba|tchSendS|
|00001f40| 6c 75 72 70 65 65 46 69 | 6c 65 0d 67 6c 6f 62 61 |lurpeeFi|le.globa|
|00001f50| 6c 20 67 50 6f 72 74 41 | 63 74 69 76 65 2c 20 67 |l gPortA|ctive, g|
|00001f60| 44 65 6c 61 79 4d 6f 64 | 65 2c 20 67 46 69 6c 65 |DelayMod|e, gFile|
|00001f70| 62 75 66 66 65 72 2c 20 | 67 53 6f 75 70 4e 61 6d |buffer, |gSoupNam|
|00001f80| 65 2c 20 67 4e 61 6d 65 | 4c 65 6e 67 74 68 2c 20 |e, gName|Length, |
|00001f90| 67 4c 61 73 74 46 69 6c | 65 2c 20 67 46 6f 6c 64 |gLastFil|e, gFold|
|00001fa0| 65 72 4e 61 6d 65 2c 20 | 67 53 6c 75 72 70 65 65 |erName, |gSlurpee|
|00001fb0| 46 69 6c 65 4c 69 73 74 | 0d 69 66 20 67 50 6f 72 |FileList|.if gPor|
|00001fc0| 74 41 63 74 69 76 65 20 | 63 6f 6e 74 61 69 6e 73 |tActive |contains|
|00001fd0| 20 22 6e 6f 22 20 74 68 | 65 6e 0d 62 65 65 70 0d | "no" th|en.beep.|
|00001fe0| 61 6e 73 77 65 72 20 22 | 50 6c 65 61 73 65 20 63 |answer "|Please c|
|00001ff0| 6f 6e 6e 65 63 74 20 74 | 6f 20 74 68 65 20 4e 65 |onnect t|o the Ne|
|00002000| 77 74 6f 6e 20 28 53 74 | 65 70 20 32 29 20 62 65 |wton (St|ep 2) be|
|00002010| 66 6f 72 65 20 74 72 61 | 6e 73 66 65 72 72 69 6e |fore tra|nsferrin|
|00002020| 67 2e 2e 2e 22 20 77 69 | 74 68 20 22 4f 4b 22 0d |g..." wi|th "OK".|
|00002030| 65 78 69 74 20 42 61 74 | 63 68 53 65 6e 64 53 6c |exit Bat|chSendSl|
|00002040| 75 72 70 65 65 46 69 6c | 65 0d 65 6e 64 20 69 66 |urpeeFil|e.end if|
|00002050| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 57 61 72 |.put "" |into War|
|00002060| 6e 69 6e 67 0d 69 66 20 | 63 64 20 66 6c 64 20 22 |ning.if |cd fld "|
|00002070| 4f 76 65 72 72 69 64 65 | 53 6f 75 70 4e 61 6d 65 |Override|SoupName|
|00002080| 22 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |" is not| empty t|
|00002090| 68 65 6e 20 70 75 74 20 | 22 57 61 72 6e 69 6e 67 |hen put |"Warning|
|000020a0| 21 20 20 54 68 65 20 6e | 65 77 20 64 65 73 74 69 |! The n|ew desti|
|000020b0| 6e 61 74 69 6f 6e 20 73 | 6f 75 70 20 69 73 3a 20 |nation s|oup is: |
|000020c0| 22 20 26 20 63 64 20 66 | 6c 64 20 22 4f 76 65 72 |" & cd f|ld "Over|
|000020d0| 72 69 64 65 53 6f 75 70 | 4e 61 6d 65 22 20 69 6e |rideSoup|Name" in|
|000020e0| 74 6f 20 57 61 72 6e 69 | 6e 67 0d 61 6e 73 77 65 |to Warni|ng.answe|
|000020f0| 72 20 66 69 6c 65 20 22 | 4c 6f 63 61 74 65 20 61 |r file "|Locate a|
|00002100| 6e 79 20 53 6c 75 72 70 | 65 65 20 28 2e 73 6c 70 |ny Slurp|ee (.slp|
|00002110| 29 20 66 69 6c 65 20 74 | 6f 20 74 72 61 6e 73 66 |) file t|o transf|
|00002120| 65 72 2e 22 26 72 65 74 | 75 72 6e 26 57 61 72 6e |er."&ret|urn&Warn|
|00002130| 69 6e 67 20 6f 66 20 74 | 79 70 65 20 74 65 78 74 |ing of t|ype text|
|00002140| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 73 6c 75 |.put it |into slu|
|00002150| 72 70 65 65 66 69 6c 65 | 0d 70 75 74 20 22 22 20 |rpeefile|.put "" |
|00002160| 69 6e 74 6f 20 6c 61 73 | 74 66 69 6c 65 6e 61 6d |into las|tfilenam|
|00002170| 65 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 4e 75 6d |e.put 0 |into Num|
|00002180| 62 65 72 46 69 6c 65 73 | 0d 69 66 20 73 6c 75 72 |berFiles|.if slur|
|00002190| 70 65 65 66 69 6c 65 20 | 69 73 20 65 6d 70 74 79 |peefile |is empty|
|000021a0| 20 74 68 65 6e 20 65 78 | 69 74 20 42 61 74 63 68 | then ex|it Batch|
|000021b0| 53 65 6e 64 53 6c 75 72 | 70 65 65 46 69 6c 65 0d |SendSlur|peeFile.|
|000021c0| 70 75 74 20 6c 65 6e 67 | 74 68 28 73 6c 75 72 70 |put leng|th(slurp|
|000021d0| 65 65 66 69 6c 65 29 20 | 69 6e 74 6f 20 63 68 61 |eefile) |into cha|
|000021e0| 72 63 6f 75 6e 74 65 72 | 0d 72 65 70 65 61 74 0d |rcounter|.repeat.|
|000021f0| 69 66 20 63 68 61 72 61 | 63 74 65 72 20 63 68 61 |if chara|cter cha|
|00002200| 72 63 6f 75 6e 74 65 72 | 20 6f 66 20 73 6c 75 72 |rcounter| of slur|
|00002210| 70 65 65 66 69 6c 65 20 | 69 73 20 22 3a 22 20 74 |peefile |is ":" t|
|00002220| 68 65 6e 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |hen exit| repeat.|
|00002230| 70 75 74 20 28 63 68 61 | 72 61 63 74 65 72 20 63 |put (cha|racter c|
|00002240| 68 61 72 63 6f 75 6e 74 | 65 72 20 6f 66 20 73 6c |harcount|er of sl|
|00002250| 75 72 70 65 65 66 69 6c | 65 29 20 26 20 6c 61 73 |urpeefil|e) & las|
|00002260| 74 66 69 6c 65 6e 61 6d | 65 20 69 6e 74 6f 20 6c |tfilenam|e into l|
|00002270| 61 73 74 66 69 6c 65 6e | 61 6d 65 0d 70 75 74 20 |astfilen|ame.put |
|00002280| 63 68 61 72 63 6f 75 6e | 74 65 72 2d 31 20 69 6e |charcoun|ter-1 in|
|00002290| 74 6f 20 63 68 61 72 63 | 6f 75 6e 74 65 72 0d 69 |to charc|ounter.i|
|000022a0| 66 20 63 68 61 72 63 6f | 75 6e 74 65 72 20 3c 20 |f charco|unter < |
|000022b0| 31 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |1 then e|xit repe|
|000022c0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |at.end r|epeat.pu|
|000022d0| 74 20 63 68 61 72 61 63 | 74 65 72 20 31 20 74 6f |t charac|ter 1 to|
|000022e0| 20 63 68 61 72 63 6f 75 | 6e 74 65 72 20 6f 66 20 | charcou|nter of |
|000022f0| 73 6c 75 72 70 65 65 66 | 69 6c 65 20 69 6e 74 6f |slurpeef|ile into|
|00002300| 20 67 46 6f 6c 64 65 72 | 4e 61 6d 65 0d 70 75 74 | gFolder|Name.put|
|00002310| 20 46 69 6c 65 4c 69 73 | 74 28 67 46 6f 6c 64 65 | FileLis|t(gFolde|
|00002320| 72 4e 61 6d 65 2c 20 66 | 61 6c 73 65 2c 20 74 65 |rName, f|alse, te|
|00002330| 78 74 29 20 69 6e 74 6f | 20 67 53 6c 75 72 70 65 |xt) into| gSlurpe|
|00002340| 65 46 69 6c 65 4c 69 73 | 74 0d 72 65 70 65 61 74 |eFileLis|t.repeat|
|00002350| 0d 69 66 20 67 53 6c 75 | 72 70 65 65 46 69 6c 65 |.if gSlu|rpeeFile|
|00002360| 4c 69 73 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |List is |empty th|
|00002370| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 70 |en exit |repeat.p|
|00002380| 75 74 20 67 46 6f 6c 64 | 65 72 4e 61 6d 65 26 6c |ut gFold|erName&l|
|00002390| 69 6e 65 20 31 20 6f 66 | 20 67 53 6c 75 72 70 65 |ine 1 of| gSlurpe|
|000023a0| 65 46 69 6c 65 4c 69 73 | 74 20 69 6e 74 6f 20 73 |eFileLis|t into s|
|000023b0| 6c 75 72 70 65 65 66 69 | 6c 65 0d 70 75 74 20 6c |lurpeefi|le.put l|
|000023c0| 69 6e 65 20 31 20 6f 66 | 20 67 53 6c 75 72 70 65 |ine 1 of| gSlurpe|
|000023d0| 65 46 69 6c 65 4c 69 73 | 74 20 69 6e 74 6f 20 6c |eFileLis|t into l|
|000023e0| 61 73 74 66 69 6c 65 6e | 61 6d 65 0d 70 75 74 20 |astfilen|ame.put |
|000023f0| 22 4c 61 73 74 20 66 69 | 6c 65 20 77 61 73 3a 20 |"Last fi|le was: |
|00002400| 22 26 6c 61 73 74 66 69 | 6c 65 6e 61 6d 65 20 69 |"&lastfi|lename i|
|00002410| 6e 74 6f 20 67 4c 61 73 | 74 46 69 6c 65 0d 64 65 |nto gLas|tFile.de|
|00002420| 6c 65 74 65 20 6c 69 6e | 65 20 31 20 6f 66 20 67 |lete lin|e 1 of g|
|00002430| 53 6c 75 72 70 65 65 46 | 69 6c 65 4c 69 73 74 0d |SlurpeeF|ileList.|
|00002440| 6f 70 65 6e 20 66 69 6c | 65 20 73 6c 75 72 70 65 |open fil|e slurpe|
|00002450| 65 66 69 6c 65 0d 72 65 | 61 64 20 66 72 6f 6d 20 |efile.re|ad from |
|00002460| 66 69 6c 65 20 73 6c 75 | 72 70 65 65 66 69 6c 65 |file slu|rpeefile|
|00002470| 20 75 6e 74 69 6c 20 65 | 6d 70 74 79 0d 63 6c 6f | until e|mpty.clo|
|00002480| 73 65 20 66 69 6c 65 20 | 73 6c 75 72 70 65 65 66 |se file |slurpeef|
|00002490| 69 6c 65 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ile.put |it into |
|000024a0| 67 46 69 6c 65 62 75 66 | 66 65 72 0d 69 66 20 63 |gFilebuf|fer.if c|
|000024b0| 68 61 72 20 31 20 6f 66 | 20 6c 69 6e 65 20 32 20 |har 1 of| line 2 |
|000024c0| 6f 66 20 67 46 69 6c 65 | 62 75 66 66 65 72 20 69 |of gFile|buffer i|
|000024d0| 73 20 6e 6f 74 20 22 7b | 22 20 74 68 65 6e 0d 62 |s not "{|" then.b|
|000024e0| 65 65 70 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |eep.answ|er "This|
|000024f0| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 61 20 53 | file is| not a S|
|00002500| 6c 75 72 70 65 65 20 66 | 69 6c 65 2e 22 20 77 69 |lurpee f|ile." wi|
|00002510| 74 68 20 22 43 6f 6e 74 | 69 6e 75 65 22 20 6f 72 |th "Cont|inue" or|
|00002520| 20 22 43 61 6e 63 65 6c | 22 0d 69 66 20 69 74 20 | "Cancel|".if it |
|00002530| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|00002540| 20 65 78 69 74 20 42 61 | 74 63 68 53 65 6e 64 53 | exit Ba|tchSendS|
|00002550| 6c 75 72 70 65 65 46 69 | 6c 65 0d 65 6e 64 20 69 |lurpeeFi|le.end i|
|00002560| 66 0d 69 66 20 6c 65 6e | 67 74 68 28 6c 69 6e 65 |f.if len|gth(line|
|00002570| 20 34 20 6f 66 20 67 46 | 69 6c 65 62 75 66 66 65 | 4 of gF|ilebuffe|
|00002580| 72 29 20 69 73 20 6e 6f | 74 20 33 33 20 74 68 65 |r) is no|t 33 the|
|00002590| 6e 0d 62 65 65 70 0d 61 | 6e 73 77 65 72 20 22 54 |n.beep.a|nswer "T|
|000025a0| 68 69 73 20 53 6c 75 72 | 70 65 65 20 66 69 6c 65 |his Slur|pee file|
|000025b0| 20 28 22 26 6c 61 73 74 | 66 69 6c 65 6e 61 6d 65 | ("&last|filename|
|000025c0| 26 22 29 20 69 73 20 63 | 6f 72 72 75 70 74 2e 20 |&") is c|orrupt. |
|000025d0| 20 54 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 66 69 | The ori|ginal fi|
|000025e0| 6c 65 20 69 73 20 74 6f | 6f 20 62 69 67 2e 22 20 |le is to|o big." |
|000025f0| 77 69 74 68 20 22 4f 4b | 22 0d 65 78 69 74 20 42 |with "OK|".exit B|
|00002600| 61 74 63 68 53 65 6e 64 | 53 6c 75 72 70 65 65 46 |atchSend|SlurpeeF|
|00002610| 69 6c 65 0d 65 6e 64 20 | 69 66 0d 47 65 74 53 6f |ile.end |if.GetSo|
|00002620| 75 70 4e 61 6d 65 0d 69 | 66 20 63 64 20 66 6c 64 |upName.i|f cd fld|
|00002630| 20 22 4f 76 65 72 72 69 | 64 65 53 6f 75 70 4e 61 | "Overri|deSoupNa|
|00002640| 6d 65 22 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |me" is n|ot empty|
|00002650| 20 74 68 65 6e 0d 70 75 | 74 20 63 64 20 66 6c 64 | then.pu|t cd fld|
|00002660| 20 4f 76 65 72 72 69 64 | 65 53 6f 75 70 4e 61 6d | Overrid|eSoupNam|
|00002670| 65 20 69 6e 74 6f 20 67 | 53 6f 75 70 4e 61 6d 65 |e into g|SoupName|
|00002680| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 31 20 74 |.delete |char 1 t|
|00002690| 6f 20 67 4e 61 6d 65 4c | 65 6e 67 74 68 20 6f 66 |o gNameL|ength of|
|000026a0| 20 67 46 69 6c 65 62 75 | 66 66 65 72 0d 70 75 74 | gFilebu|ffer.put|
|000026b0| 20 67 53 6f 75 70 4e 61 | 6d 65 20 62 65 66 6f 72 | gSoupNa|me befor|
|000026c0| 65 20 66 69 72 73 74 20 | 63 68 61 72 61 63 74 65 |e first |characte|
|000026d0| 72 20 6f 66 20 67 46 69 | 6c 65 62 75 66 66 65 72 |r of gFi|lebuffer|
|000026e0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 22 53 65 6e |.end if.|put "Sen|
|000026f0| 64 69 6e 67 20 53 6c 75 | 72 70 65 65 20 66 69 6c |ding Slu|rpee fil|
|00002700| 65 3a 20 22 26 6c 61 73 | 74 66 69 6c 65 6e 61 6d |e: "&las|tfilenam|
|00002710| 65 26 22 20 74 6f 20 4e | 65 77 74 6f 6e 20 73 6f |e&" to N|ewton so|
|00002720| 75 70 3a 20 22 26 67 53 | 6f 75 70 4e 61 6d 65 26 |up: "&gS|oupName&|
|00002730| 22 2e 20 20 46 69 6c 65 | 73 20 73 65 6e 74 3a 20 |". File|s sent: |
|00002740| 22 26 4e 75 6d 62 65 72 | 46 69 6c 65 73 26 72 65 |"&Number|Files&re|
|00002750| 74 75 72 6e 26 22 50 6c | 65 61 73 65 20 77 61 69 |turn&"Pl|ease wai|
|00002760| 74 2e 2e 2e 22 20 69 6e | 74 6f 20 63 64 20 66 6c |t..." in|to cd fl|
|00002770| 64 20 22 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |d "Infor|mation".|
|00002780| 70 75 74 20 30 20 69 6e | 74 6f 20 62 79 74 65 43 |put 0 in|to byteC|
|00002790| 6f 75 6e 74 65 72 0d 73 | 65 74 20 63 75 72 73 6f |ounter.s|et curso|
|000027a0| 72 20 74 6f 20 77 61 74 | 63 68 0d 72 65 70 65 61 |r to wat|ch.repea|
|000027b0| 74 0d 69 66 20 67 46 69 | 6c 65 62 75 66 66 65 72 |t.if gFi|lebuffer|
|000027c0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|000027d0| 78 69 74 20 72 65 70 65 | 61 74 0d 73 65 6e 64 53 |xit repe|at.sendS|
|000027e0| 50 6f 72 74 20 63 68 61 | 72 20 31 20 74 6f 20 38 |Port cha|r 1 to 8|
|000027f0| 30 20 6f 66 20 67 46 69 | 6c 65 62 75 66 66 65 72 |0 of gFi|lebuffer|
|00002800| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 31 20 74 |.delete |char 1 t|
|00002810| 6f 20 38 30 20 6f 66 20 | 67 46 69 6c 65 62 75 66 |o 80 of |gFilebuf|
|00002820| 66 65 72 0d 70 75 74 20 | 28 62 79 74 65 43 6f 75 |fer.put |(byteCou|
|00002830| 6e 74 65 72 20 2b 20 38 | 30 29 20 69 6e 74 6f 20 |nter + 8|0) into |
|00002840| 62 79 74 65 43 6f 75 6e | 74 65 72 0d 70 75 74 20 |byteCoun|ter.put |
|00002850| 62 79 74 65 43 6f 75 6e | 74 65 72 20 69 6e 74 6f |byteCoun|ter into|
|00002860| 20 63 64 20 66 6c 64 20 | 22 42 79 74 65 73 22 0d | cd fld |"Bytes".|
|00002870| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 22 |end repe|at.put "|
|00002880| 22 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 42 |" into c|d fld "B|
|00002890| 79 74 65 73 22 0d 70 75 | 74 20 22 22 20 69 6e 74 |ytes".pu|t "" int|
|000028a0| 6f 20 67 46 69 6c 65 62 | 75 66 66 65 72 0d 70 75 |o gFileb|uffer.pu|
|000028b0| 74 20 4e 75 6d 62 65 72 | 46 69 6c 65 73 20 2b 20 |t Number|Files + |
|000028c0| 31 20 69 6e 74 6f 20 4e | 75 6d 62 65 72 46 69 6c |1 into N|umberFil|
|000028d0| 65 73 0d 70 75 74 20 22 | 53 65 6e 74 20 53 6c 75 |es.put "|Sent Slu|
|000028e0| 72 70 65 65 20 66 69 6c | 65 3a 20 22 26 6c 61 73 |rpee fil|e: "&las|
|000028f0| 74 66 69 6c 65 6e 61 6d | 65 26 22 20 74 6f 20 4e |tfilenam|e&" to N|
|00002900| 65 77 74 6f 6e 20 73 6f | 75 70 3a 20 22 26 67 53 |ewton so|up: "&gS|
|00002910| 6f 75 70 4e 61 6d 65 26 | 22 2e 20 20 46 69 6c 65 |oupName&|". File|
|00002920| 73 20 73 65 6e 74 3a 20 | 22 26 4e 75 6d 62 65 72 |s sent: |"&Number|
|00002930| 46 69 6c 65 73 26 72 65 | 74 75 72 6e 26 22 50 61 |Files&re|turn&"Pa|
|00002940| 75 73 69 6e 67 20 66 6f | 72 20 6e 65 78 74 20 66 |using fo|r next f|
|00002950| 69 6c 65 2e 22 20 69 6e | 74 6f 20 63 64 20 66 6c |ile." in|to cd fl|
|00002960| 64 20 22 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |d "Infor|mation".|
|00002970| 69 66 20 67 53 6c 75 72 | 70 65 65 46 69 6c 65 4c |if gSlur|peeFileL|
|00002980| 69 73 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ist is e|mpty the|
|00002990| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en|
|000029a0| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 22 53 65 |d repeat|.put "Se|
|000029b0| 6e 74 20 61 6c 6c 20 66 | 69 6c 65 73 20 69 6e 20 |nt all f|iles in |
|000029c0| 66 6f 6c 64 65 72 3a 20 | 22 26 67 46 6f 6c 64 65 |folder: |"&gFolde|
|000029d0| 72 4e 61 6d 65 26 22 20 | 74 6f 20 4e 65 77 74 6f |rName&" |to Newto|
|000029e0| 6e 20 73 6f 75 70 3a 20 | 22 26 67 53 6f 75 70 4e |n soup: |"&gSoupN|
|000029f0| 61 6d 65 26 22 2e 20 20 | 46 69 6c 65 73 20 73 65 |ame&". |Files se|
|00002a00| 6e 74 3a 20 22 26 4e 75 | 6d 62 65 72 46 69 6c 65 |nt: "&Nu|mberFile|
|00002a10| 73 26 72 65 74 75 72 6e | 26 22 44 61 74 61 20 63 |s&return|&"Data c|
|00002a20| 6f 6e 6e 65 63 74 69 6f | 6e 20 69 73 20 61 63 74 |onnectio|n is act|
|00002a30| 69 76 65 2e 22 20 69 6e | 74 6f 20 63 64 20 66 6c |ive." in|to cd fl|
|00002a40| 64 20 22 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 22 0d |d "Infor|mation".|
|00002a50| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 73 6c 75 72 |put "" i|nto slur|
|00002a60| 70 65 65 66 69 6c 65 0d | 70 75 74 20 22 22 20 69 |peefile.|put "" i|
|00002a70| 6e 74 6f 20 6c 61 73 74 | 66 69 6c 65 6e 61 6d 65 |nto last|filename|
|00002a80| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 4e 75 6d |.put "" |into Num|
|00002a90| 62 65 72 46 69 6c 65 73 | 0d 73 65 74 20 63 75 72 |berFiles|.set cur|
|00002aa0| 73 6f 72 20 74 6f 20 61 | 72 72 6f 77 0d 2d 2d 20 |sor to a|rrow.-- |
|00002ab0| 20 64 6f 4d 65 6e 75 20 | 22 43 6f 6d 70 61 63 74 | doMenu |"Compact|
|00002ac0| 20 53 74 61 63 6b 22 0d | 65 6e 64 20 42 61 74 63 | Stack".|end Batc|
|00002ad0| 68 53 65 6e 64 53 6c 75 | 72 70 65 65 46 69 6c 65 |hSendSlu|rpeeFile|
|00002ae0| 0d 0d 6f 6e 20 4d 61 6b | 65 49 6d 61 67 65 53 6c |..on Mak|eImageSl|
|00002af0| 75 72 70 65 65 46 69 6c | 65 0d 61 6e 73 77 65 72 |urpeeFil|e.answer|
|00002b00| 20 66 69 6c 65 20 22 53 | 65 6c 65 63 74 20 61 20 | file "S|elect a |
|00002b10| 50 49 43 54 20 66 69 6c | 65 20 74 6f 20 63 6f 6e |PICT fil|e to con|
|00002b20| 76 65 72 74 2e 22 0d 69 | 66 20 69 74 20 69 73 20 |vert.".i|f it is |
|00002b30| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00002b40| 4d 61 6b 65 49 6d 61 67 | 65 53 6c 75 72 70 65 65 |MakeImag|eSlurpee|
|00002b50| 46 69 6c 65 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |File.put| it into|
|00002b60| 20 70 69 63 74 66 69 6c | 65 0d 70 75 74 20 6c 65 | pictfil|e.put le|
|00002b70| 6e 67 74 68 28 70 69 63 | 74 66 69 6c 65 29 20 69 |ngth(pic|tfile) i|
|00002b80| 6e 74 6f 20 63 68 61 72 | 63 6f 75 6e 74 65 72 0d |nto char|counter.|
|00002b90| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 77 69 6e 64 |put "" i|nto wind|
|00002ba0| 6f 77 6e 61 6d 65 0d 72 | 65 70 65 61 74 0d 69 66 |owname.r|epeat.if|
|00002bb0| 20 63 68 61 72 61 63 74 | 65 72 20 63 68 61 72 63 | charact|er charc|
|00002bc0| 6f 75 6e 74 65 72 20 6f | 66 20 70 69 63 74 66 69 |ounter o|f pictfi|
|00002bd0| 6c 65 20 69 73 20 22 3a | 22 20 74 68 65 6e 20 65 |le is ":|" then e|
|00002be0| 78 69 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 28 |xit repe|at.put (|
|00002bf0| 63 68 61 72 61 63 74 65 | 72 20 63 68 61 72 63 6f |characte|r charco|
|00002c00| 75 6e 74 65 72 20 6f 66 | 20 70 69 63 74 66 69 6c |unter of| pictfil|
|00002c10| 65 29 20 26 20 77 69 6e | 64 6f 77 6e 61 6d 65 20 |e) & win|downame |
|00002c20| 69 6e 74 6f 20 77 69 6e | 64 6f 77 6e 61 6d 65 0d |into win|downame.|
|00002c30| 70 75 74 20 63 68 61 72 | 63 6f 75 6e 74 65 72 2d |put char|counter-|
|00002c40| 31 20 69 6e 74 6f 20 63 | 68 61 72 63 6f 75 6e 74 |1 into c|harcount|
|00002c50| 65 72 0d 69 66 20 63 68 | 61 72 63 6f 75 6e 74 65 |er.if ch|arcounte|
|00002c60| 72 20 3c 20 31 20 74 68 | 65 6e 20 65 78 69 74 20 |r < 1 th|en exit |
|00002c70| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00002c80| 74 0d 61 6e 73 77 65 72 | 20 22 53 68 72 69 6e 6b |t.answer| "Shrink|
|00002c90| 20 62 69 67 20 69 6d 61 | 67 65 73 20 74 6f 20 66 | big ima|ges to f|
|00002ca0| 69 74 20 4e 65 77 74 6f | 6e 3f 22 20 77 69 74 68 |it Newto|n?" with|
|00002cb0| 20 22 4e 6f 22 2c 20 22 | 59 65 73 22 0d 70 75 74 | "No", "|Yes".put|
|00002cc0| 20 69 74 20 69 6e 74 6f | 20 73 63 61 6c 65 0d 73 | it into| scale.s|
|00002cd0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00002ce0| 63 68 0d 67 6f 20 63 61 | 72 64 20 34 0d 50 69 63 |ch.go ca|rd 4.Pic|
|00002cf0| 74 54 6f 43 6c 69 70 20 | 70 69 63 74 66 69 6c 65 |tToClip |pictfile|
|00002d00| 2c 20 22 66 69 6c 65 22 | 2c 20 74 72 75 65 0d 69 |, "file"|, true.i|
|00002d10| 66 20 73 63 61 6c 65 20 | 69 73 20 22 59 65 73 22 |f scale |is "Yes"|
|00002d20| 20 74 68 65 6e 0d 67 65 | 74 20 63 6c 69 70 50 69 | then.ge|t clipPi|
|00002d30| 63 74 49 6e 66 6f 28 29 | 0d 70 75 74 20 69 74 65 |ctInfo()|.put ite|
|00002d40| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 35 20 6f 66 |m 1 of l|ine 5 of|
|00002d50| 20 69 74 20 69 6e 74 6f | 20 70 69 63 62 6f 75 6e | it into| picboun|
|00002d60| 64 78 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |dx.put i|tem 2 of|
|00002d70| 20 6c 69 6e 65 20 35 20 | 6f 66 20 69 74 20 69 6e | line 5 |of it in|
|00002d80| 74 6f 20 70 69 63 62 6f | 75 6e 64 79 0d 2d 2d 61 |to picbo|undy.--a|
|00002d90| 6e 73 77 65 72 20 22 78 | 3a 20 22 26 70 69 63 62 |nswer "x|: "&picb|
|00002da0| 6f 75 6e 64 78 26 22 20 | 20 79 3a 20 22 26 70 69 |oundx&" | y: "&pi|
|00002db0| 63 62 6f 75 6e 64 79 0d | 69 66 20 28 70 69 63 62 |cboundy.|if (picb|
|00002dc0| 6f 75 6e 64 78 20 3c 20 | 70 69 63 62 6f 75 6e 64 |oundx < |picbound|
|00002dd0| 79 29 20 61 6e 64 20 28 | 28 70 69 63 62 6f 75 6e |y) and (|(picboun|
|00002de0| 64 78 20 3e 20 32 33 34 | 29 20 6f 72 20 28 70 69 |dx > 234|) or (pi|
|00002df0| 63 62 6f 75 6e 64 79 20 | 3e 20 32 39 30 29 29 20 |cboundy |> 290)) |
|00002e00| 74 68 65 6e 20 50 69 63 | 74 54 6f 43 6c 69 70 20 |then Pic|tToClip |
|00002e10| 70 69 63 74 66 69 6c 65 | 2c 20 22 66 69 6c 65 22 |pictfile|, "file"|
|00002e20| 2c 20 74 72 75 65 2c 20 | 22 6b 65 65 70 20 70 72 |, true, |"keep pr|
|00002e30| 6f 70 2e 22 2c 20 22 32 | 33 34 2c 32 39 30 22 0d |op.", "2|34,290".|
|00002e40| 69 66 20 28 70 69 63 62 | 6f 75 6e 64 78 20 3e 20 |if (picb|oundx > |
|00002e50| 70 69 63 62 6f 75 6e 64 | 79 29 20 61 6e 64 20 28 |picbound|y) and (|
|00002e60| 28 70 69 63 62 6f 75 6e | 64 78 20 3e 20 33 31 34 |(picboun|dx > 314|
|00002e70| 29 20 6f 72 20 28 70 69 | 63 62 6f 75 6e 64 79 20 |) or (pi|cboundy |
|00002e80| 3e 20 32 31 30 29 29 20 | 74 68 65 6e 20 50 69 63 |> 210)) |then Pic|
|00002e90| 74 54 6f 43 6c 69 70 20 | 70 69 63 74 66 69 6c 65 |tToClip |pictfile|
|00002ea0| 2c 20 22 66 69 6c 65 22 | 2c 20 74 72 75 65 2c 20 |, "file"|, true, |
|00002eb0| 22 6b 65 65 70 20 70 72 | 6f 70 2e 22 2c 20 22 33 |"keep pr|op.", "3|
|00002ec0| 31 34 2c 32 31 30 22 0d | 65 6e 64 20 69 66 0d 64 |14,210".|end if.d|
|00002ed0| 6f 4d 65 6e 75 20 22 50 | 61 73 74 65 20 50 69 63 |oMenu "P|aste Pic|
|00002ee0| 74 75 72 65 22 0d 64 6f | 4d 65 6e 75 20 22 43 75 |ture".do|Menu "Cu|
|00002ef0| 74 20 50 69 63 74 75 72 | 65 22 0d 63 68 6f 6f 73 |t Pictur|e".choos|
|00002f00| 65 20 62 72 6f 77 73 65 | 20 74 6f 6f 6c 0d 73 65 |e browse| tool.se|
|00002f10| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00002f20| 68 0d 67 6f 20 63 61 72 | 64 20 31 0d 70 75 74 20 |h.go car|d 1.put |
|00002f30| 43 6f 6e 6a 75 72 65 20 | 28 22 2a 2a 2a 2a 48 65 |Conjure |("****He|
|00002f40| 78 20 44 75 6d 70 22 2c | 22 50 49 43 54 22 29 20 |x Dump",|"PICT") |
|00002f50| 69 6e 74 6f 20 54 65 6d | 70 42 75 66 66 65 72 0d |into Tem|pBuffer.|
|00002f60| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 43 6c 69 70 |put "" i|nto Clip|
|00002f70| 62 6f 61 72 64 0d 70 75 | 74 20 70 69 63 74 66 69 |board.pu|t pictfi|
|00002f80| 6c 65 26 22 2e 73 6c 70 | 22 20 69 6e 74 6f 20 6e |le&".slp|" into n|
|00002f90| 65 77 66 69 6c 65 6e 61 | 6d 65 0d 70 75 74 20 22 |ewfilena|me.put "|
|00002fa0| 43 6f 6e 76 65 72 74 69 | 6e 67 20 50 49 43 54 20 |Converti|ng PICT |
|00002fb0| 66 69 6c 65 3a 20 22 26 | 77 69 6e 64 6f 77 6e 61 |file: "&|windowna|
|00002fc0| 6d 65 26 22 20 74 6f 20 | 53 6c 75 72 70 65 65 20 |me&" to |Slurpee |
|00002fd0| 66 69 6c 65 2e 22 26 72 | 65 74 75 72 6e 26 22 50 |file."&r|eturn&"P|
|00002fe0| 6c 65 61 73 65 20 77 61 | 69 74 2e 2e 2e 22 20 69 |lease wa|it..." i|
|00002ff0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 49 6e 66 6f |nto cd f|ld "Info|
|00003000| 72 6d 61 74 69 6f 6e 22 | 0d 6f 70 65 6e 20 66 69 |rmation"|.open fi|
|00003010| 6c 65 20 6e 65 77 66 69 | 6c 65 6e 61 6d 65 0d 77 |le newfi|lename.w|
|00003020| 72 69 74 65 20 22 42 69 | 74 6d 61 70 73 21 5b 7b |rite "Bi|tmaps![{|
|00003030| 73 74 72 75 63 74 75 72 | 65 3a 20 27 73 6c 6f 74 |structur|e: 'slot|
|00003040| 2c 20 70 61 74 68 3a 20 | 27 6e 61 6d 65 2c 20 74 |, path: |'name, t|
|00003050| 79 70 65 3a 20 27 73 79 | 6d 62 6f 6c 7d 2c 5d 22 |ype: 'sy|mbol},]"|
|00003060| 26 72 65 74 75 72 6e 20 | 74 6f 20 66 69 6c 65 20 |&return |to file |
|00003070| 6e 65 77 66 69 6c 65 6e | 61 6d 65 0d 77 72 69 74 |newfilen|ame.writ|
|00003080| 65 20 22 7b 6e 61 6d 65 | 3a 20 27 73 79 6d 62 6f |e "{name|: 'symbo|
|00003090| 6c 2c 20 62 69 74 6d 61 | 70 3a 20 20 22 26 71 75 |l, bitma|p: "&qu|
|000030a0| 6f 74 65 26 70 69 63 74 | 75 72 65 26 71 75 6f 74 |ote&pict|ure"|
|000030b0| 65 26 22 7d 22 26 72 65 | 74 75 72 6e 20 74 6f 20 |e&"}"&re|turn to |
|000030c0| 66 69 6c 65 20 6e 65 77 | 66 69 6c 65 6e 61 6d 65 |file new|filename|
|000030d0| 0d 77 72 69 74 65 20 77 | 69 6e 64 6f 77 6e 61 6d |.write w|indownam|
|000030e0| 65 26 22 09 21 5c 22 26 | 72 65 74 75 72 6e 20 74 |e&".!\"&|return t|
|000030f0| 6f 20 66 69 6c 65 20 6e | 65 77 66 69 6c 65 6e 61 |o file n|ewfilena|
|00003100| 6d 65 0d 70 75 74 20 6c | 61 73 74 20 6c 69 6e 65 |me.put l|ast line|
|00003110| 20 6f 66 20 74 65 6d 70 | 62 75 66 66 65 72 20 69 | of temp|buffer i|
|00003120| 6e 74 6f 20 6c 61 73 74 | 6c 69 6e 65 0d 64 65 6c |nto last|line.del|
|00003130| 65 74 65 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |ete last| line of|
|00003140| 20 74 65 6d 70 62 75 66 | 66 65 72 0d 70 75 74 20 | tempbuf|fer.put |
|00003150| 72 65 70 6c 61 63 65 28 | 74 65 6d 70 62 75 66 66 |replace(|tempbuff|
|00003160| 65 72 2c 72 65 74 75 72 | 6e 2c 22 5c 22 26 72 65 |er,retur|n,"\"&re|
|00003170| 74 75 72 6e 2c 66 61 6c | 73 65 29 20 69 6e 74 6f |turn,fal|se) into|
|00003180| 20 6e 65 77 74 65 6d 70 | 62 75 66 66 65 72 0d 77 | newtemp|buffer.w|
|00003190| 72 69 74 65 20 6e 65 77 | 74 65 6d 70 62 75 66 66 |rite new|tempbuff|
|000031a0| 65 72 20 74 6f 20 66 69 | 6c 65 20 6e 65 77 66 69 |er to fi|le newfi|
|000031b0| 6c 65 6e 61 6d 65 0d 77 | 72 69 74 65 20 6c 61 73 |lename.w|rite las|
|000031c0| 74 6c 69 6e 65 26 72 65 | 74 75 72 6e 20 74 6f 20 |tline&re|turn to |
|000031d0| 66 69 6c 65 20 6e 65 77 | 66 69 6c 65 6e 61 6d 65 |file new|filename|
|000031e0| 0d 77 72 69 74 65 20 72 | 65 74 75 72 6e 26 22 42 |.write r|eturn&"B|
|000031f0| 59 45 21 22 26 72 65 74 | 75 72 6e 20 74 6f 20 66 |YE!"&ret|urn to f|
|00003200| 69 6c 65 20 6e 65 77 66 | 69 6c 65 6e 61 6d 65 0d |ile newf|ilename.|
|00003210| 63 6c 6f 73 65 20 66 69 | 6c 65 20 6e 65 77 66 69 |close fi|le newfi|
|00003220| 6c 65 6e 61 6d 65 0d 70 | 75 74 20 22 22 20 69 6e |lename.p|ut "" in|
|00003230| 74 6f 20 54 65 6d 70 42 | 75 66 66 65 72 0d 70 75 |to TempB|uffer.pu|
|00003240| 74 20 22 22 20 69 6e 74 | 6f 20 6e 65 77 74 65 6d |t "" int|o newtem|
|00003250| 70 62 75 66 66 65 72 0d | 73 65 74 20 63 75 72 73 |pbuffer.|set curs|
|00003260| 6f 72 20 74 6f 20 61 72 | 72 6f 77 0d 2d 2d 20 20 |or to ar|row.-- |
|00003270| 64 6f 4d 65 6e 75 20 22 | 43 6f 6d 70 61 63 74 20 |doMenu "|Compact |
|00003280| 53 74 61 63 6b 22 0d 70 | 75 74 20 22 43 6f 6e 76 |Stack".p|ut "Conv|
|00003290| 65 72 74 65 64 20 50 49 | 43 54 20 66 69 6c 65 3a |erted PI|CT file:|
|000032a0| 20 22 26 77 69 6e 64 6f | 77 6e 61 6d 65 26 22 20 | "&windo|wname&" |
|000032b0| 74 6f 20 53 6c 75 72 70 | 65 65 20 66 69 6c 65 2e |to Slurp|ee file.|
|000032c0| 22 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 49 |" into c|d fld "I|
|000032d0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 22 0d 65 6e 64 20 |nformati|on".end |
|000032e0| 4d 61 6b 65 49 6d 61 67 | 65 53 6c 75 72 70 65 65 |MakeImag|eSlurpee|
|000032f0| 46 69 6c 65 0d 0d 6f 6e | 20 4d 61 6b 65 41 75 64 |File..on| MakeAud|
|00003300| 69 6f 53 6c 75 72 70 65 | 65 46 69 6c 65 0d 61 6e |ioSlurpe|eFile.an|
|00003310| 73 77 65 72 20 22 44 69 | 64 20 79 6f 75 20 64 72 |swer "Di|d you dr|
|00003320| 61 67 20 61 20 53 4e 44 | 20 66 69 6c 65 20 74 6f |ag a SND| file to|
|00003330| 20 74 68 65 20 53 63 72 | 61 70 62 6f 6f 6b 20 61 | the Scr|apbook a|
|00003340| 6e 64 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 63 |nd immed|iately c|
|00003350| 75 74 20 28 6f 72 20 63 | 6f 70 79 29 20 69 74 20 |ut (or c|opy) it |
|00003360| 6f 75 74 3f 22 20 77 69 | 74 68 20 22 4e 6f 22 2c |out?" wi|th "No",|
|00003370| 22 59 65 73 22 0d 69 66 | 20 69 74 20 69 73 20 22 |"Yes".if| it is "|
|00003380| 4e 6f 22 20 74 68 65 6e | 20 65 78 69 74 20 4d 61 |No" then| exit Ma|
|00003390| 6b 65 41 75 64 69 6f 53 | 6c 75 72 70 65 65 46 69 |keAudioS|lurpeeFi|
|000033a0| 6c 65 0d 61 6e 73 77 65 | 72 20 66 69 6c 65 20 22 |le.answe|r file "|
|000033b0| 53 65 6c 65 63 74 20 74 | 68 65 20 53 4e 44 20 66 |Select t|he SND f|
|000033c0| 69 6c 65 20 74 68 61 74 | 20 77 61 73 20 63 6f 70 |ile that| was cop|
|000033d0| 69 65 64 20 74 6f 2f 66 | 72 6f 6d 20 74 68 65 20 |ied to/f|rom the |
|000033e0| 53 63 72 61 70 62 6f 6f | 6b 2e 22 0d 69 66 20 69 |Scrapboo|k.".if i|
|000033f0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|00003400| 65 78 69 74 20 4d 61 6b | 65 41 75 64 69 6f 53 6c |exit Mak|eAudioSl|
|00003410| 75 72 70 65 65 46 69 6c | 65 0d 70 75 74 20 69 74 |urpeeFil|e.put it|
|00003420| 20 69 6e 74 6f 20 70 69 | 63 74 66 69 6c 65 0d 61 | into pi|ctfile.a|
|00003430| 73 6b 20 22 45 6e 74 65 | 72 20 74 68 65 20 73 61 |sk "Ente|r the sa|
|00003440| 6d 70 6c 69 6e 67 20 72 | 61 74 65 3a 22 20 77 69 |mpling r|ate:" wi|
|00003450| 74 68 20 22 31 31 30 31 | 33 2e 32 22 0d 69 66 20 |th "1101|3.2".if |
|00003460| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00003470| 20 65 78 69 74 20 4d 61 | 6b 65 41 75 64 69 6f 53 | exit Ma|keAudioS|
|00003480| 6c 75 72 70 65 65 46 69 | 6c 65 0d 70 75 74 20 69 |lurpeeFi|le.put i|
|00003490| 74 20 69 6e 74 6f 20 73 | 61 6d 70 6c 65 72 61 74 |t into s|amplerat|
|000034a0| 65 0d 70 75 74 20 6c 65 | 6e 67 74 68 28 70 69 63 |e.put le|ngth(pic|
|000034b0| 74 66 69 6c 65 29 20 69 | 6e 74 6f 20 63 68 61 72 |tfile) i|nto char|
|000034c0| 63 6f 75 6e 74 65 72 0d | 70 75 74 20 22 22 20 69 |counter.|put "" i|
|000034d0| 6e 74 6f 20 77 69 6e 64 | 6f 77 6e 61 6d 65 0d 72 |nto wind|owname.r|
|000034e0| 65 70 65 61 74 0d 69 66 | 20 63 68 61 72 61 63 74 |epeat.if| charact|
|000034f0| 65 72 20 63 68 61 72 63 | 6f 75 6e 74 65 72 20 6f |er charc|ounter o|
|00003500| 66 20 70 69 63 74 66 69 | 6c 65 20 69 73 20 22 3a |f pictfi|le is ":|
|00003510| 22 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |" then e|xit repe|
|00003520| 61 74 0d 70 75 74 20 28 | 63 68 61 72 61 63 74 65 |at.put (|characte|
|00003530| 72 20 63 68 61 72 63 6f | 75 6e 74 65 72 20 6f 66 |r charco|unter of|
|00003540| 20 70 69 63 74 66 69 6c | 65 29 20 26 20 77 69 6e | pictfil|e) & win|
|00003550| 64 6f 77 6e 61 6d 65 20 | 69 6e 74 6f 20 77 69 6e |downame |into win|
|00003560| 64 6f 77 6e 61 6d 65 0d | 70 75 74 20 63 68 61 72 |downame.|put char|
|00003570| 63 6f 75 6e 74 65 72 2d | 31 20 69 6e 74 6f 20 63 |counter-|1 into c|
|00003580| 68 61 72 63 6f 75 6e 74 | 65 72 0d 69 66 20 63 68 |harcount|er.if ch|
|00003590| 61 72 63 6f 75 6e 74 65 | 72 20 3c 20 31 20 74 68 |arcounte|r < 1 th|
|000035a0| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |en exit |repeat.e|
|000035b0| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 63 75 |nd repea|t.set cu|
|000035c0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|000035d0| 74 20 43 6f 6e 6a 75 72 | 65 20 28 22 2a 2a 2a 2a |t Conjur|e ("****|
|000035e0| 48 65 78 20 44 75 6d 70 | 22 2c 22 73 6e 64 20 22 |Hex Dump|","snd "|
|000035f0| 29 20 69 6e 74 6f 20 54 | 65 6d 70 42 75 66 66 65 |) into T|empBuffe|
|00003600| 72 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 43 6c |r.put ""| into Cl|
|00003610| 69 70 62 6f 61 72 64 0d | 70 75 74 20 70 69 63 74 |ipboard.|put pict|
|00003620| 66 69 6c 65 26 22 2e 73 | 6c 70 22 20 69 6e 74 6f |file&".s|lp" into|
|00003630| 20 6e 65 77 66 69 6c 65 | 6e 61 6d 65 0d 70 75 74 | newfile|name.put|
|00003640| 20 22 43 6f 6e 76 65 72 | 74 69 6e 67 20 53 4e 44 | "Conver|ting SND|
|00003650| 20 66 69 6c 65 3a 20 22 | 26 77 69 6e 64 6f 77 6e | file: "|&windown|
|00003660| 61 6d 65 26 22 20 74 6f | 20 53 6c 75 72 70 65 65 |ame&" to| Slurpee|
|00003670| 20 66 69 6c 65 2e 22 26 | 72 65 74 75 72 6e 26 22 | file."&|return&"|
|00003680| 50 6c 65 61 73 65 20 77 | 61 69 74 2e 2e 2e 22 20 |Please w|ait..." |
|00003690| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 49 6e 66 |into cd |fld "Inf|
|000036a0| 6f 72 6d 61 74 69 6f 6e | 22 0d 6f 70 65 6e 20 66 |ormation|".open f|
|000036b0| 69 6c 65 20 6e 65 77 66 | 69 6c 65 6e 61 6d 65 0d |ile newf|ilename.|
|000036c0| 77 72 69 74 65 20 22 70 | 6d 53 6e 64 54 72 6b 21 |write "p|mSndTrk!|
|000036d0| 5b 7b 73 74 72 75 63 74 | 75 72 65 3a 20 27 73 6c |[{struct|ure: 'sl|
|000036e0| 6f 74 2c 20 70 61 74 68 | 3a 20 27 6e 61 6d 65 2c |ot, path|: 'name,|
|000036f0| 20 74 79 70 65 3a 20 27 | 73 79 6d 62 6f 6c 7d 2c | type: '|symbol},|
|00003700| 5d 22 26 72 65 74 75 72 | 6e 20 74 6f 20 66 69 6c |]"&retur|n to fil|
|00003710| 65 20 6e 65 77 66 69 6c | 65 6e 61 6d 65 0d 77 72 |e newfil|ename.wr|
|00003720| 69 74 65 20 22 7b 6e 61 | 6d 65 3a 20 27 73 79 6d |ite "{na|me: 'sym|
|00003730| 62 6f 6c 2c 20 73 61 6d | 70 6c 69 6e 67 52 61 74 |bol, sam|plingRat|
|00003740| 65 3a 20 22 26 71 75 6f | 74 65 26 72 65 61 6c 26 |e: "&quo|te&real&|
|00003750| 71 75 6f 74 65 26 22 2c | 20 73 6f 75 6e 64 3a 20 |quote&",| sound: |
|00003760| 22 26 71 75 6f 74 65 26 | 73 6f 75 6e 64 26 71 75 |""e&|sound&qu|
|00003770| 6f 74 65 26 22 7d 22 26 | 72 65 74 75 72 6e 20 74 |ote&"}"&|return t|
|00003780| 6f 20 66 69 6c 65 20 6e | 65 77 66 69 6c 65 6e 61 |o file n|ewfilena|
|00003790| 6d 65 0d 77 72 69 74 65 | 20 77 69 6e 64 6f 77 6e |me.write| windown|
|000037a0| 61 6d 65 26 22 09 22 26 | 73 61 6d 70 6c 65 72 61 |ame&"."&|samplera|
|000037b0| 74 65 26 22 09 21 22 20 | 74 6f 20 66 69 6c 65 20 |te&".!" |to file |
|000037c0| 6e 65 77 66 69 6c 65 6e | 61 6d 65 0d 72 65 70 65 |newfilen|ame.repe|
|000037d0| 61 74 0d 69 66 20 54 65 | 6d 70 42 75 66 66 65 72 |at.if Te|mpBuffer|
|000037e0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|000037f0| 78 69 74 20 72 65 70 65 | 61 74 0d 77 72 69 74 65 |xit repe|at.write|
|00003800| 20 22 5c 22 26 72 65 74 | 75 72 6e 20 74 6f 20 66 | "\"&ret|urn to f|
|00003810| 69 6c 65 20 6e 65 77 66 | 69 6c 65 6e 61 6d 65 0d |ile newf|ilename.|
|00003820| 77 72 69 74 65 20 63 68 | 61 72 20 31 20 74 6f 20 |write ch|ar 1 to |
|00003830| 33 32 20 6f 66 20 54 65 | 6d 70 42 75 66 66 65 72 |32 of Te|mpBuffer|
|00003840| 20 74 6f 20 66 69 6c 65 | 20 6e 65 77 66 69 6c 65 | to file| newfile|
|00003850| 6e 61 6d 65 0d 64 65 6c | 65 74 65 20 63 68 61 72 |name.del|ete char|
|00003860| 20 31 20 74 6f 20 33 33 | 20 6f 66 20 54 65 6d 70 | 1 to 33| of Temp|
|00003870| 42 75 66 66 65 72 0d 65 | 6e 64 20 72 65 70 65 61 |Buffer.e|nd repea|
|00003880| 74 0d 77 72 69 74 65 20 | 72 65 74 75 72 6e 26 22 |t.write |return&"|
|00003890| 42 59 45 21 22 26 72 65 | 74 75 72 6e 20 74 6f 20 |BYE!"&re|turn to |
|000038a0| 66 69 6c 65 20 6e 65 77 | 66 69 6c 65 6e 61 6d 65 |file new|filename|
|000038b0| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 6e 65 77 66 |.close f|ile newf|
|000038c0| 69 6c 65 6e 61 6d 65 0d | 70 75 74 20 22 22 20 69 |ilename.|put "" i|
|000038d0| 6e 74 6f 20 54 65 6d 70 | 42 75 66 66 65 72 0d 73 |nto Temp|Buffer.s|
|000038e0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 61 72 72 |et curso|r to arr|
|000038f0| 6f 77 0d 2d 2d 20 20 64 | 6f 4d 65 6e 75 20 22 43 |ow.-- d|oMenu "C|
|00003900| 6f 6d 70 61 63 74 20 53 | 74 61 63 6b 22 0d 70 75 |ompact S|tack".pu|
|00003910| 74 20 22 43 6f 6e 76 65 | 72 74 65 64 20 53 4e 44 |t "Conve|rted SND|
|00003920| 20 66 69 6c 65 3a 20 22 | 26 77 69 6e 64 6f 77 6e | file: "|&windown|
|00003930| 61 6d 65 26 22 20 74 6f | 20 53 6c 75 72 70 65 65 |ame&" to| Slurpee|
|00003940| 20 66 69 6c 65 2e 22 20 | 69 6e 74 6f 20 63 64 20 | file." |into cd |
|00003950| 66 6c 64 20 22 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |fld "Inf|ormation|
|00003960| 22 0d 65 6e 64 20 4d 61 | 6b 65 41 75 64 69 6f 53 |".end Ma|keAudioS|
|00003970| 6c 75 72 70 65 65 46 69 | 6c 65 0d 0d 6f 6e 20 42 |lurpeeFi|le..on B|
|00003980| 61 74 63 68 4d 61 6b 65 | 49 6d 61 67 65 53 6c 75 |atchMake|ImageSlu|
|00003990| 72 70 65 65 46 69 6c 65 | 0d 67 6c 6f 62 61 6c 20 |rpeeFile|.global |
|000039a0| 67 46 69 6c 65 62 75 66 | 66 65 72 2c 20 67 4e 61 |gFilebuf|fer, gNa|
|000039b0| 6d 65 4c 65 6e 67 74 68 | 2c 20 67 4c 61 73 74 46 |meLength|, gLastF|
|000039c0| 69 6c 65 2c 20 67 46 6f | 6c 64 65 72 4e 61 6d 65 |ile, gFo|lderName|
|000039d0| 2c 20 67 53 6c 75 72 70 | 65 65 46 69 6c 65 4c 69 |, gSlurp|eeFileLi|
|000039e0| 73 74 0d 61 6e 73 77 65 | 72 20 66 69 6c 65 20 22 |st.answe|r file "|
|000039f0| 4c 6f 63 61 74 65 20 61 | 20 50 49 43 54 20 66 69 |Locate a| PICT fi|
|00003a00| 6c 65 20 74 6f 20 63 6f | 6e 76 65 72 74 2e 20 20 |le to co|nvert. |
|00003a10| 41 6c 6c 20 50 49 43 54 | 73 20 68 65 72 65 20 77 |All PICT|s here w|
|00003a20| 69 6c 6c 20 62 65 20 63 | 6f 6e 76 65 72 74 65 64 |ill be c|onverted|
|00003a30| 2e 22 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 70 |.".put i|t into p|
|00003a40| 69 63 74 66 69 6c 65 0d | 70 75 74 20 22 22 20 69 |ictfile.|put "" i|
|00003a50| 6e 74 6f 20 6c 61 73 74 | 66 69 6c 65 6e 61 6d 65 |nto last|filename|
|00003a60| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 4e 75 6d 62 |.put 0 i|nto Numb|
|00003a70| 65 72 46 69 6c 65 73 0d | 69 66 20 70 69 63 74 66 |erFiles.|if pictf|
|00003a80| 69 6c 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ile is e|mpty the|
|00003a90| 6e 20 65 78 69 74 20 42 | 61 74 63 68 4d 61 6b 65 |n exit B|atchMake|
|00003aa0| 49 6d 61 67 65 53 6c 75 | 72 70 65 65 46 69 6c 65 |ImageSlu|rpeeFile|
|00003ab0| 0d 70 75 74 20 6c 65 6e | 67 74 68 28 70 69 63 74 |.put len|gth(pict|
|00003ac0| 66 69 6c 65 29 20 69 6e | 74 6f 20 63 68 61 72 63 |file) in|to charc|
|00003ad0| 6f 75 6e 74 65 72 0d 72 | 65 70 65 61 74 0d 69 66 |ounter.r|epeat.if|
|00003ae0| 20 63 68 61 72 61 63 74 | 65 72 20 63 68 61 72 63 | charact|er charc|
|00003af0| 6f 75 6e 74 65 72 20 6f | 66 20 70 69 63 74 66 69 |ounter o|f pictfi|
|00003b00| 6c 65 20 69 73 20 22 3a | 22 20 74 68 65 6e 20 65 |le is ":|" then e|
|00003b10| 78 69 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 28 |xit repe|at.put (|
|00003b20| 63 68 61 72 61 63 74 65 | 72 20 63 68 61 72 63 6f |characte|r charco|
|00003b30| 75 6e 74 65 72 20 6f 66 | 20 70 69 63 74 66 69 6c |unter of| pictfil|
|00003b40| 65 29 20 26 20 6c 61 73 | 74 66 69 6c 65 6e 61 6d |e) & las|tfilenam|
|00003b50| 65 20 69 6e 74 6f 20 6c | 61 73 74 66 69 6c 65 6e |e into l|astfilen|
|00003b60| 61 6d 65 0d 70 75 74 20 | 63 68 61 72 63 6f 75 6e |ame.put |charcoun|
|00003b70| 74 65 72 2d 31 20 69 6e | 74 6f 20 63 68 61 72 63 |ter-1 in|to charc|
|00003b80| 6f 75 6e 74 65 72 0d 69 | 66 20 63 68 61 72 63 6f |ounter.i|f charco|
|00003b90| 75 6e 74 65 72 20 3c 20 | 31 20 74 68 65 6e 20 65 |unter < |1 then e|
|00003ba0| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00003bb0| 65 70 65 61 74 0d 70 75 | 74 20 63 68 61 72 61 63 |epeat.pu|t charac|
|00003bc0| 74 65 72 20 31 20 74 6f | 20 63 68 61 72 63 6f 75 |ter 1 to| charcou|
|00003bd0| 6e 74 65 72 20 6f 66 20 | 70 69 63 74 66 69 6c 65 |nter of |pictfile|
|00003be0| 20 69 6e 74 6f 20 67 46 | 6f 6c 64 65 72 4e 61 6d | into gF|olderNam|
|00003bf0| 65 0d 70 75 74 20 46 69 | 6c 65 4c 69 73 74 28 67 |e.put Fi|leList(g|
|00003c00| 46 6f 6c 64 65 72 4e 61 | 6d 65 2c 20 66 61 6c 73 |FolderNa|me, fals|
|00003c10| 65 29 20 69 6e 74 6f 20 | 67 53 6c 75 72 70 65 65 |e) into |gSlurpee|
|00003c20| 46 69 6c 65 4c 69 73 74 | 0d 61 6e 73 77 65 72 20 |FileList|.answer |
|00003c30| 22 53 68 72 69 6e 6b 20 | 62 69 67 20 69 6d 61 67 |"Shrink |big imag|
|00003c40| 65 73 20 74 6f 20 66 69 | 74 20 4e 65 77 74 6f 6e |es to fi|t Newton|
|00003c50| 3f 22 20 77 69 74 68 20 | 22 4e 6f 22 2c 20 22 59 |?" with |"No", "Y|
|00003c60| 65 73 22 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |es".put |it into |
|00003c70| 73 63 61 6c 65 0d 72 65 | 70 65 61 74 0d 69 66 20 |scale.re|peat.if |
|00003c80| 67 53 6c 75 72 70 65 65 | 46 69 6c 65 4c 69 73 74 |gSlurpee|FileList|
|00003c90| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00003ca0| 78 69 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 67 |xit repe|at.put g|
|00003cb0| 46 6f 6c 64 65 72 4e 61 | 6d 65 26 6c 69 6e 65 20 |FolderNa|me&line |
|00003cc0| 31 20 6f 66 20 67 53 6c | 75 72 70 65 65 46 69 6c |1 of gSl|urpeeFil|
|00003cd0| 65 4c 69 73 74 20 69 6e | 74 6f 20 70 69 63 74 66 |eList in|to pictf|
|00003ce0| 69 6c 65 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |ile.put |line 1 o|
|00003cf0| 66 20 67 53 6c 75 72 70 | 65 65 46 69 6c 65 4c 69 |f gSlurp|eeFileLi|
|00003d00| 73 74 20 69 6e 74 6f 20 | 6c 61 73 74 66 69 6c 65 |st into |lastfile|
|00003d10| 6e 61 6d 65 0d 70 75 74 | 20 22 4c 61 73 74 20 66 |name.put| "Last f|
|00003d20| 69 6c 65 20 77 61 73 3a | 20 22 26 6c 61 73 74 66 |ile was:| "&lastf|
|00003d30| 69 6c 65 6e 61 6d 65 20 | 69 6e 74 6f 20 67 4c 61 |ilename |into gLa|
|00003d40| 73 74 46 69 6c 65 0d 64 | 65 6c 65 74 65 20 6c 69 |stFile.d|elete li|
|00003d50| 6e 65 20 31 20 6f 66 20 | 67 53 6c 75 72 70 65 65 |ne 1 of |gSlurpee|
|00003d60| 46 69 6c 65 4c 69 73 74 | 0d 70 75 74 20 22 43 6f |FileList|.put "Co|
|00003d70| 6e 76 65 72 74 69 6e 67 | 20 50 49 43 54 20 66 69 |nverting| PICT fi|
|00003d80| 6c 65 3a 20 22 26 6c 61 | 73 74 66 69 6c 65 6e 61 |le: "&la|stfilena|
|00003d90| 6d 65 26 22 20 74 6f 20 | 53 6c 75 72 70 65 65 20 |me&" to |Slurpee |
|00003da0| 66 69 6c 65 2e 20 20 46 | 69 6c 65 73 20 63 6f 6e |file. F|iles con|
|00003db0| 76 65 72 74 65 64 3a 20 | 22 26 4e 75 6d 62 65 72 |verted: |"&Number|
|00003dc0| 46 69 6c 65 73 26 72 65 | 74 75 72 6e 26 22 50 6c |Files&re|turn&"Pl|
|00003dd0| 65 61 73 65 20 77 61 69 | 74 2e 2e 2e 22 20 69 6e |ease wai|t..." in|
|00003de0| 74 6f 20 63 64 20 66 6c | 64 20 22 49 6e 66 6f 72 |to cd fl|d "Infor|
|00003df0| 6d 61 74 69 6f 6e 22 0d | 73 65 74 20 63 75 72 73 |mation".|set curs|
|00003e00| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00003e10| 6c 65 6e 67 74 68 28 70 | 69 63 74 66 69 6c 65 29 |length(p|ictfile)|
|00003e20| 20 69 6e 74 6f 20 63 68 | 61 72 63 6f 75 6e 74 65 | into ch|arcounte|
|00003e30| 72 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 77 69 |r.put ""| into wi|
|00003e40| 6e 64 6f 77 6e 61 6d 65 | 0d 72 65 70 65 61 74 0d |ndowname|.repeat.|
|00003e50| 69 66 20 63 68 61 72 61 | 63 74 65 72 20 63 68 61 |if chara|cter cha|
|00003e60| 72 63 6f 75 6e 74 65 72 | 20 6f 66 20 70 69 63 74 |rcounter| of pict|
|00003e70| 66 69 6c 65 20 69 73 20 | 22 3a 22 20 74 68 65 6e |file is |":" then|
|00003e80| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 70 75 74 | exit re|peat.put|
|00003e90| 20 28 63 68 61 72 61 63 | 74 65 72 20 63 68 61 72 | (charac|ter char|
|00003ea0| 63 6f 75 6e 74 65 72 20 | 6f 66 20 70 69 63 74 66 |counter |of pictf|
|00003eb0| 69 6c 65 29 20 26 20 77 | 69 6e 64 6f 77 6e 61 6d |ile) & w|indownam|
|00003ec0| 65 20 69 6e 74 6f 20 77 | 69 6e 64 6f 77 6e 61 6d |e into w|indownam|
|00003ed0| 65 0d 70 75 74 20 63 68 | 61 72 63 6f 75 6e 74 65 |e.put ch|arcounte|
|00003ee0| 72 2d 31 20 69 6e 74 6f | 20 63 68 61 72 63 6f 75 |r-1 into| charcou|
|00003ef0| 6e 74 65 72 0d 69 66 20 | 63 68 61 72 63 6f 75 6e |nter.if |charcoun|
|00003f00| 74 65 72 20 3c 20 31 20 | 74 68 65 6e 20 65 78 69 |ter < 1 |then exi|
|00003f10| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00003f20| 65 61 74 0d 67 6f 20 63 | 61 72 64 20 34 0d 50 69 |eat.go c|ard 4.Pi|
|00003f30| 63 74 54 6f 43 6c 69 70 | 20 70 69 63 74 66 69 6c |ctToClip| pictfil|
|00003f40| 65 2c 20 22 66 69 6c 65 | 22 2c 20 74 72 75 65 0d |e, "file|", true.|
|00003f50| 69 66 20 73 63 61 6c 65 | 20 69 73 20 22 59 65 73 |if scale| is "Yes|
|00003f60| 22 20 74 68 65 6e 0d 67 | 65 74 20 63 6c 69 70 50 |" then.g|et clipP|
|00003f70| 69 63 74 49 6e 66 6f 28 | 29 0d 70 75 74 20 69 74 |ictInfo(|).put it|
|00003f80| 65 6d 20 31 20 6f 66 20 | 6c 69 6e 65 20 35 20 6f |em 1 of |line 5 o|
|00003f90| 66 20 69 74 20 69 6e 74 | 6f 20 70 69 63 62 6f 75 |f it int|o picbou|
|00003fa0| 6e 64 78 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |ndx.put |item 2 o|
|00003fb0| 66 20 6c 69 6e 65 20 35 | 20 6f 66 20 69 74 20 69 |f line 5| of it i|
|00003fc0| 6e 74 6f 20 70 69 63 62 | 6f 75 6e 64 79 0d 2d 2d |nto picb|oundy.--|
|00003fd0| 61 6e 73 77 65 72 20 22 | 78 3a 20 22 26 70 69 63 |answer "|x: "&pic|
|00003fe0| 62 6f 75 6e 64 78 26 22 | 20 20 79 3a 20 22 26 70 |boundx&"| y: "&p|
|00003ff0| 69 63 62 6f 75 6e 64 79 | 0d 69 66 20 28 70 69 63 |icboundy|.if (pic|
|00004000| 62 6f 75 6e 64 78 20 3c | 20 70 69 63 62 6f 75 6e |boundx <| picboun|
|00004010| 64 79 29 20 61 6e 64 20 | 28 28 70 69 63 62 6f 75 |dy) and |((picbou|
|00004020| 6e 64 78 20 3e 20 32 33 | 34 29 20 6f 72 20 28 70 |ndx > 23|4) or (p|
|00004030| 69 63 62 6f 75 6e 64 79 | 20 3e 20 32 39 30 29 29 |icboundy| > 290))|
|00004040| 20 74 68 65 6e 20 50 69 | 63 74 54 6f 43 6c 69 70 | then Pi|ctToClip|
|00004050| 20 70 69 63 74 66 69 6c | 65 2c 20 22 66 69 6c 65 | pictfil|e, "file|
|00004060| 22 2c 20 74 72 75 65 2c | 20 22 6b 65 65 70 20 70 |", true,| "keep p|
|00004070| 72 6f 70 2e 22 2c 20 22 | 32 33 34 2c 32 39 30 22 |rop.", "|234,290"|
|00004080| 0d 69 66 20 28 70 69 63 | 62 6f 75 6e 64 78 20 3e |.if (pic|boundx >|
|00004090| 20 70 69 63 62 6f 75 6e | 64 79 29 20 61 6e 64 20 | picboun|dy) and |
|000040a0| 28 28 70 69 63 62 6f 75 | 6e 64 78 20 3e 20 33 31 |((picbou|ndx > 31|
|000040b0| 34 29 20 6f 72 20 28 70 | 69 63 62 6f 75 6e 64 79 |4) or (p|icboundy|
|000040c0| 20 3e 20 32 31 30 29 29 | 20 74 68 65 6e 20 50 69 | > 210))| then Pi|
|000040d0| 63 74 54 6f 43 6c 69 70 | 20 70 69 63 74 66 69 6c |ctToClip| pictfil|
|000040e0| 65 2c 20 22 66 69 6c 65 | 22 2c 20 74 72 75 65 2c |e, "file|", true,|
|000040f0| 20 22 6b 65 65 70 20 70 | 72 6f 70 2e 22 2c 20 22 | "keep p|rop.", "|
|00004100| 33 31 34 2c 32 31 30 22 | 0d 65 6e 64 20 69 66 0d |314,210"|.end if.|
|00004110| 64 6f 4d 65 6e 75 20 22 | 50 61 73 74 65 20 50 69 |doMenu "|Paste Pi|
|00004120| 63 74 75 72 65 22 0d 64 | 6f 4d 65 6e 75 20 22 43 |cture".d|oMenu "C|
|00004130| 75 74 20 50 69 63 74 75 | 72 65 22 0d 67 6f 20 63 |ut Pictu|re".go c|
|00004140| 61 72 64 20 31 0d 63 68 | 6f 6f 73 65 20 62 72 6f |ard 1.ch|oose bro|
|00004150| 77 73 65 20 74 6f 6f 6c | 0d 73 65 74 20 63 75 72 |wse tool|.set cur|
|00004160| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 75 74 |sor to w|atch.put|
|00004170| 20 43 6f 6e 6a 75 72 65 | 20 28 22 2a 2a 2a 2a 48 | Conjure| ("****H|
|00004180| 65 78 20 44 75 6d 70 22 | 2c 22 50 49 43 54 22 29 |ex Dump"|,"PICT")|
|00004190| 20 69 6e 74 6f 20 54 65 | 6d 70 42 75 66 66 65 72 | into Te|mpBuffer|
|000041a0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 43 6c 69 |.put "" |into Cli|
|000041b0| 70 62 6f 61 72 64 0d 70 | 75 74 20 70 69 63 74 66 |pboard.p|ut pictf|
|000041c0| 69 6c 65 26 22 2e 73 6c | 70 22 20 69 6e 74 6f 20 |ile&".sl|p" into |
|000041d0| 6e 65 77 66 69 6c 65 6e | 61 6d 65 0d 6f 70 65 6e |newfilen|ame.open|
|000041e0| 20 66 69 6c 65 20 6e 65 | 77 66 69 6c 65 6e 61 6d | file ne|wfilenam|
|000041f0| 65 0d 77 72 69 74 65 20 | 22 42 69 74 6d 61 70 73 |e.write |"Bitmaps|
|00004200| 21 5b 7b 73 74 72 75 63 | 74 75 72 65 3a 20 27 73 |![{struc|ture: 's|
|00004210| 6c 6f 74 2c 20 70 61 74 | 68 3a 20 27 6e 61 6d 65 |lot, pat|h: 'name|
|00004220| 2c 20 74 79 70 65 3a 20 | 27 73 79 6d 62 6f 6c 7d |, type: |'symbol}|
|00004230| 2c 5d 22 26 72 65 74 75 | 72 6e 20 74 6f 20 66 69 |,]"&retu|rn to fi|
|00004240| 6c 65 20 6e 65 77 66 69 | 6c 65 6e 61 6d 65 0d 77 |le newfi|lename.w|
|00004250| 72 69 74 65 20 22 7b 6e | 61 6d 65 3a 20 27 73 79 |rite "{n|ame: 'sy|
|00004260| 6d 62 6f 6c 2c 20 62 69 | 74 6d 61 70 3a 20 20 22 |mbol, bi|tmap: "|
|00004270| 26 71 75 6f 74 65 26 70 | 69 63 74 75 72 65 26 71 |"e&p|icture&q|
|00004280| 75 6f 74 65 26 22 7d 22 | 26 72 65 74 75 72 6e 20 |uote&"}"|&return |
|00004290| 74 6f 20 66 69 6c 65 20 | 6e 65 77 66 69 6c 65 6e |to file |newfilen|
|000042a0| 61 6d 65 0d 77 72 69 74 | 65 20 77 69 6e 64 6f 77 |ame.writ|e window|
|000042b0| 6e 61 6d 65 26 22 09 21 | 5c 22 26 72 65 74 75 72 |name&".!|\"&retur|
|000042c0| 6e 20 74 6f 20 66 69 6c | 65 20 6e 65 77 66 69 6c |n to fil|e newfil|
|000042d0| 65 6e 61 6d 65 0d 70 75 | 74 20 6c 61 73 74 20 6c |ename.pu|t last l|
|000042e0| 69 6e 65 20 6f 66 20 74 | 65 6d 70 62 75 66 66 65 |ine of t|empbuffe|
|000042f0| 72 20 69 6e 74 6f 20 6c | 61 73 74 6c 69 6e 65 0d |r into l|astline.|
|00004300| 64 65 6c 65 74 65 20 6c | 61 73 74 20 6c 69 6e 65 |delete l|ast line|
|00004310| 20 6f 66 20 74 65 6d 70 | 62 75 66 66 65 72 0d 70 | of temp|buffer.p|
|00004320| 75 74 20 72 65 70 6c 61 | 63 65 28 74 65 6d 70 62 |ut repla|ce(tempb|
|00004330| 75 66 66 65 72 2c 72 65 | 74 75 72 6e 2c 22 5c 22 |uffer,re|turn,"\"|
|00004340| 26 72 65 74 75 72 6e 2c | 66 61 6c 73 65 29 20 69 |&return,|false) i|
|00004350| 6e 74 6f 20 6e 65 77 74 | 65 6d 70 62 75 66 66 65 |nto newt|empbuffe|
|00004360| 72 0d 77 72 69 74 65 20 | 6e 65 77 74 65 6d 70 62 |r.write |newtempb|
|00004370| 75 66 66 65 72 20 74 6f | 20 66 69 6c 65 20 6e 65 |uffer to| file ne|
|00004380| 77 66 69 6c 65 6e 61 6d | 65 0d 77 72 69 74 65 20 |wfilenam|e.write |
|00004390| 6c 61 73 74 6c 69 6e 65 | 26 72 65 74 75 72 6e 20 |lastline|&return |
|000043a0| 74 6f 20 66 69 6c 65 20 | 6e 65 77 66 69 6c 65 6e |to file |newfilen|
|000043b0| 61 6d 65 0d 77 72 69 74 | 65 20 72 65 74 75 72 6e |ame.writ|e return|
|000043c0| 26 22 42 59 45 21 22 26 | 72 65 74 75 72 6e 20 74 |&"BYE!"&|return t|
|000043d0| 6f 20 66 69 6c 65 20 6e | 65 77 66 69 6c 65 6e 61 |o file n|ewfilena|
|000043e0| 6d 65 0d 63 6c 6f 73 65 | 20 66 69 6c 65 20 6e 65 |me.close| file ne|
|000043f0| 77 66 69 6c 65 6e 61 6d | 65 0d 70 75 74 20 22 22 |wfilenam|e.put ""|
|00004400| 20 69 6e 74 6f 20 54 65 | 6d 70 42 75 66 66 65 72 | into Te|mpBuffer|
|00004410| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 6e 65 77 |.put "" |into new|
|00004420| 74 65 6d 70 62 75 66 66 | 65 72 0d 70 75 74 20 22 |tempbuff|er.put "|
|00004430| 22 20 69 6e 74 6f 20 67 | 46 69 6c 65 62 75 66 66 |" into g|Filebuff|
|00004440| 65 72 0d 70 75 74 20 4e | 75 6d 62 65 72 46 69 6c |er.put N|umberFil|
|00004450| 65 73 20 2b 20 31 20 69 | 6e 74 6f 20 4e 75 6d 62 |es + 1 i|nto Numb|
|00004460| 65 72 46 69 6c 65 73 0d | 70 75 74 20 22 43 6f 6e |erFiles.|put "Con|
|00004470| 76 65 72 74 65 64 20 50 | 49 43 54 20 66 69 6c 65 |verted P|ICT file|
|00004480| 3a 20 22 26 6c 61 73 74 | 66 69 6c 65 6e 61 6d 65 |: "&last|filename|
|00004490| 26 22 20 74 6f 20 53 6c | 75 72 70 65 65 20 66 69 |&" to Sl|urpee fi|
|000044a0| 6c 65 2e 20 46 69 6c 65 | 73 20 73 65 6e 74 3a 20 |le. File|s sent: |
|000044b0| 22 26 4e 75 6d 62 65 72 | 46 69 6c 65 73 26 72 65 |"&Number|Files&re|
|000044c0| 74 75 72 6e 26 22 50 61 | 75 73 69 6e 67 20 66 6f |turn&"Pa|using fo|
|000044d0| 72 20 6e 65 78 74 20 66 | 69 6c 65 2e 22 20 69 6e |r next f|ile." in|
|000044e0| 74 6f 20 63 64 20 66 6c | 64 20 22 49 6e 66 6f 72 |to cd fl|d "Infor|
|000044f0| 6d 61 74 69 6f 6e 22 0d | 69 66 20 67 53 6c 75 72 |mation".|if gSlur|
|00004500| 70 65 65 46 69 6c 65 4c | 69 73 74 20 69 73 20 65 |peeFileL|ist is e|
|00004510| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 72 |mpty the|n exit r|
|00004520| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00004530| 0d 70 75 74 20 22 43 6f | 6e 76 65 72 74 65 64 20 |.put "Co|nverted |
|00004540| 61 6c 6c 20 50 49 43 54 | 20 66 69 6c 65 73 20 69 |all PICT| files i|
|00004550| 6e 20 66 6f 6c 64 65 72 | 3a 20 22 26 67 46 6f 6c |n folder|: "&gFol|
|00004560| 64 65 72 4e 61 6d 65 26 | 22 20 74 6f 20 53 6c 75 |derName&|" to Slu|
|00004570| 72 70 65 65 20 66 69 6c | 65 73 2e 20 20 46 69 6c |rpee fil|es. Fil|
|00004580| 65 73 20 43 6f 6e 76 65 | 72 74 65 64 3a 20 22 26 |es Conve|rted: "&|
|00004590| 4e 75 6d 62 65 72 46 69 | 6c 65 73 26 72 65 74 75 |NumberFi|les&retu|
|000045a0| 72 6e 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |rn into |cd fld "|
|000045b0| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 22 0d 70 75 74 |Informat|ion".put|
|000045c0| 20 22 22 20 69 6e 74 6f | 20 73 6c 75 72 70 65 65 | "" into| slurpee|
|000045d0| 66 69 6c 65 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |file.put| "" into|
|000045e0| 20 6c 61 73 74 66 69 6c | 65 6e 61 6d 65 0d 70 75 | lastfil|ename.pu|
|000045f0| 74 20 22 22 20 69 6e 74 | 6f 20 4e 75 6d 62 65 72 |t "" int|o Number|
|00004600| 46 69 6c 65 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |Files.se|t cursor|
|00004610| 20 74 6f 20 61 72 72 6f | 77 0d 2d 2d 20 20 64 6f | to arro|w.-- do|
|00004620| 4d 65 6e 75 20 22 43 6f | 6d 70 61 63 74 20 53 74 |Menu "Co|mpact St|
|00004630| 61 63 6b 22 0d 65 6e 64 | 20 42 61 74 63 68 4d 61 |ack".end| BatchMa|
|00004640| 6b 65 49 6d 61 67 65 53 | 6c 75 72 70 65 65 46 69 |keImageS|lurpeeFi|
|00004650| 6c 65 0d 0d 6f 6e 20 4d | 6f 76 69 65 4d 61 6b 65 |le..on M|ovieMake|
|00004660| 49 6d 61 67 65 53 6c 75 | 72 70 65 65 46 69 6c 65 |ImageSlu|rpeeFile|
|00004670| 0d 67 6c 6f 62 61 6c 20 | 67 46 69 6c 65 62 75 66 |.global |gFilebuf|
|00004680| 66 65 72 2c 20 67 4e 61 | 6d 65 4c 65 6e 67 74 68 |fer, gNa|meLength|
|00004690| 2c 20 67 4c 61 73 74 46 | 69 6c 65 2c 20 67 46 6f |, gLastF|ile, gFo|
|000046a0| 6c 64 65 72 4e 61 6d 65 | 2c 20 67 53 6c 75 72 70 |lderName|, gSlurp|
|000046b0| 65 65 46 69 6c 65 4c 69 | 73 74 0d 61 6e 73 77 65 |eeFileLi|st.answe|
|000046c0| 72 20 66 69 6c 65 20 22 | 4c 6f 63 61 74 65 20 61 |r file "|Locate a|
|000046d0| 20 4d 4f 56 49 45 20 66 | 69 6c 65 20 74 6f 20 63 | MOVIE f|ile to c|
|000046e0| 6f 6e 76 65 72 74 3a 22 | 0d 70 75 74 20 69 74 20 |onvert:"|.put it |
|000046f0| 69 6e 74 6f 20 70 69 63 | 74 66 69 6c 65 0d 70 75 |into pic|tfile.pu|
|00004700| 74 20 22 22 20 69 6e 74 | 6f 20 6d 6f 76 69 65 6e |t "" int|o movien|
|00004710| 61 6d 65 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 4e |ame.put |1 into N|
|00004720| 75 6d 62 65 72 46 69 6c | 65 73 0d 69 66 20 70 69 |umberFil|es.if pi|
|00004730| 63 74 66 69 6c 65 20 69 | 73 20 65 6d 70 74 79 20 |ctfile i|s empty |
|00004740| 74 68 65 6e 20 65 78 69 | 74 20 4d 6f 76 69 65 4d |then exi|t MovieM|
|00004750| 61 6b 65 49 6d 61 67 65 | 53 6c 75 72 70 65 65 46 |akeImage|SlurpeeF|
|00004760| 69 6c 65 0d 61 6e 73 77 | 65 72 20 22 43 6f 6e 76 |ile.answ|er "Conv|
|00004770| 65 72 74 20 61 6c 6c 20 | 66 72 61 6d 65 73 20 6f |ert all |frames o|
|00004780| 72 20 73 6b 69 70 20 65 | 76 65 72 79 20 6f 74 68 |r skip e|very oth|
|00004790| 65 72 20 66 72 61 6d 65 | 3f 22 20 77 69 74 68 20 |er frame|?" with |
|000047a0| 22 53 6b 69 70 20 46 72 | 61 6d 65 73 22 20 6f 72 |"Skip Fr|ames" or|
|000047b0| 20 22 41 6c 6c 20 46 72 | 61 6d 65 73 22 0d 70 75 | "All Fr|ames".pu|
|000047c0| 74 20 69 74 20 69 6e 74 | 6f 20 73 6b 69 70 66 72 |t it int|o skipfr|
|000047d0| 61 6d 65 73 0d 70 75 74 | 20 6c 65 6e 67 74 68 28 |ames.put| length(|
|000047e0| 70 69 63 74 66 69 6c 65 | 29 20 69 6e 74 6f 20 63 |pictfile|) into c|
|000047f0| 68 61 72 63 6f 75 6e 74 | 65 72 0d 72 65 70 65 61 |harcount|er.repea|
|00004800| 74 0d 69 66 20 63 68 61 | 72 61 63 74 65 72 20 63 |t.if cha|racter c|
|00004810| 68 61 72 63 6f 75 6e 74 | 65 72 20 6f 66 20 70 69 |harcount|er of pi|
|00004820| 63 74 66 69 6c 65 20 69 | 73 20 22 3a 22 20 74 68 |ctfile i|s ":" th|
|00004830| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 70 |en exit |repeat.p|
|00004840| 75 74 20 28 63 68 61 72 | 61 63 74 65 72 20 63 68 |ut (char|acter ch|
|00004850| 61 72 63 6f 75 6e 74 65 | 72 20 6f 66 20 70 69 63 |arcounte|r of pic|
|00004860| 74 66 69 6c 65 29 20 26 | 20 6d 6f 76 69 65 6e 61 |tfile) &| moviena|
|00004870| 6d 65 20 69 6e 74 6f 20 | 6d 6f 76 69 65 6e 61 6d |me into |movienam|
|00004880| 65 0d 70 75 74 20 63 68 | 61 72 63 6f 75 6e 74 65 |e.put ch|arcounte|
|00004890| 72 2d 31 20 69 6e 74 6f | 20 63 68 61 72 63 6f 75 |r-1 into| charcou|
|000048a0| 6e 74 65 72 0d 69 66 20 | 63 68 61 72 63 6f 75 6e |nter.if |charcoun|
|000048b0| 74 65 72 20 3c 20 31 20 | 74 68 65 6e 20 65 78 69 |ter < 1 |then exi|
|000048c0| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|000048d0| 65 61 74 0d 70 75 74 20 | 63 68 61 72 61 63 74 65 |eat.put |characte|
|000048e0| 72 20 31 20 74 6f 20 63 | 68 61 72 63 6f 75 6e 74 |r 1 to c|harcount|
|000048f0| 65 72 20 6f 66 20 70 69 | 63 74 66 69 6c 65 20 69 |er of pi|ctfile i|
|00004900| 6e 74 6f 20 67 46 6f 6c | 64 65 72 4e 61 6d 65 0d |nto gFol|derName.|
|00004910| 6d 6f 76 69 65 20 70 69 | 63 74 66 69 6c 65 2c 22 |movie pi|ctfile,"|
|00004920| 77 69 6e 64 6f 69 64 22 | 0d 73 65 74 20 74 68 65 |windoid"|.set the|
|00004930| 20 74 69 6d 65 66 6f 72 | 6d 61 74 20 6f 66 20 77 | timefor|mat of w|
|00004940| 69 6e 64 6f 77 20 6d 6f | 76 69 65 6e 61 6d 65 20 |indow mo|viename |
|00004950| 74 6f 20 22 4d 6f 76 69 | 65 54 69 6d 65 22 0d 70 |to "Movi|eTime".p|
|00004960| 75 74 20 74 68 65 20 65 | 6e 64 74 69 6d 65 20 6f |ut the e|ndtime o|
|00004970| 66 20 77 69 6e 64 6f 77 | 20 6d 6f 76 69 65 6e 61 |f window| moviena|
|00004980| 6d 65 20 69 6e 74 6f 20 | 6e 75 6d 46 72 61 6d 65 |me into |numFrame|
|00004990| 73 0d 72 65 70 65 61 74 | 0d 69 66 20 28 63 75 72 |s.repeat|.if (cur|
|000049a0| 72 74 69 6d 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |rtime of| window |
|000049b0| 6d 6f 76 69 65 6e 61 6d | 65 29 20 3e 3d 20 6e 75 |movienam|e) >= nu|
|000049c0| 6d 46 72 61 6d 65 73 20 | 74 68 65 6e 20 65 78 69 |mFrames |then exi|
|000049d0| 74 20 72 65 70 65 61 74 | 0d 70 75 74 20 70 69 63 |t repeat|.put pic|
|000049e0| 74 66 69 6c 65 26 4e 75 | 6d 62 65 72 46 69 6c 65 |tfile&Nu|mberFile|
|000049f0| 73 20 69 6e 74 6f 20 66 | 72 61 6d 65 73 6e 61 6d |s into f|ramesnam|
|00004a00| 65 0d 69 66 20 4e 75 6d | 62 65 72 46 69 6c 65 73 |e.if Num|berFiles|
|00004a10| 20 3c 20 31 30 30 20 74 | 68 65 6e 20 70 75 74 20 | < 100 t|hen put |
|00004a20| 70 69 63 74 66 69 6c 65 | 26 22 30 22 26 4e 75 6d |pictfile|&"0"&Num|
|00004a30| 62 65 72 46 69 6c 65 73 | 20 69 6e 74 6f 20 66 72 |berFiles| into fr|
|00004a40| 61 6d 65 73 6e 61 6d 65 | 0d 69 66 20 4e 75 6d 62 |amesname|.if Numb|
|00004a50| 65 72 46 69 6c 65 73 20 | 3c 20 31 30 20 74 68 65 |erFiles |< 10 the|
|00004a60| 6e 20 70 75 74 20 70 69 | 63 74 66 69 6c 65 26 22 |n put pi|ctfile&"|
|00004a70| 30 30 22 26 4e 75 6d 62 | 65 72 46 69 6c 65 73 20 |00"&Numb|erFiles |
|00004a80| 69 6e 74 6f 20 66 72 61 | 6d 65 73 6e 61 6d 65 0d |into fra|mesname.|
|00004a90| 73 65 6e 64 20 22 43 6f | 70 79 46 72 61 6d 65 22 |send "Co|pyFrame"|
|00004aa0| 20 74 6f 20 77 69 6e 64 | 6f 77 20 6d 6f 76 69 65 | to wind|ow movie|
|00004ab0| 6e 61 6d 65 0d 43 6c 69 | 70 54 6f 50 69 63 74 20 |name.Cli|pToPict |
|00004ac0| 66 72 61 6d 65 73 6e 61 | 6d 65 2c 20 22 66 69 6c |framesna|me, "fil|
|00004ad0| 65 22 2c 20 74 72 75 65 | 0d 70 75 74 20 22 43 6f |e", true|.put "Co|
|00004ae0| 6e 76 65 72 74 69 6e 67 | 20 4d 4f 56 49 45 20 66 |nverting| MOVIE f|
|00004af0| 69 6c 65 3a 20 22 26 6d | 6f 76 69 65 6e 61 6d 65 |ile: "&m|oviename|
|00004b00| 26 22 20 74 6f 20 61 20 | 73 65 71 75 65 6e 63 65 |&" to a |sequence|
|00004b10| 20 6f 66 20 50 49 43 54 | 20 66 69 6c 65 73 2e 20 | of PICT| files. |
|00004b20| 20 46 72 61 6d 65 73 20 | 63 6f 6e 76 65 72 74 65 | Frames |converte|
|00004b30| 64 3a 20 22 26 4e 75 6d | 62 65 72 46 69 6c 65 73 |d: "&Num|berFiles|
|00004b40| 26 72 65 74 75 72 6e 26 | 22 50 6c 65 61 73 65 20 |&return&|"Please |
|00004b50| 77 61 69 74 2e 2e 2e 22 | 20 69 6e 74 6f 20 63 64 |wait..."| into cd|
|00004b60| 20 66 6c 64 20 22 49 6e | 66 6f 72 6d 61 74 69 6f | fld "In|formatio|
|00004b70| 6e 22 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |n".set c|ursor to|
|00004b80| 20 77 61 74 63 68 0d 70 | 75 74 20 4e 75 6d 62 65 | watch.p|ut Numbe|
|00004b90| 72 46 69 6c 65 73 20 2b | 20 31 20 69 6e 74 6f 20 |rFiles +| 1 into |
|00004ba0| 4e 75 6d 62 65 72 46 69 | 6c 65 73 0d 73 65 6e 64 |NumberFi|les.send|
|00004bb0| 20 22 53 74 65 70 46 77 | 64 22 20 74 6f 20 77 69 | "StepFw|d" to wi|
|00004bc0| 6e 64 6f 77 20 6d 6f 76 | 69 65 6e 61 6d 65 0d 69 |ndow mov|iename.i|
|00004bd0| 66 20 73 6b 69 70 66 72 | 61 6d 65 73 20 3d 20 22 |f skipfr|ames = "|
|00004be0| 53 6b 69 70 20 46 72 61 | 6d 65 73 22 20 74 68 65 |Skip Fra|mes" the|
|00004bf0| 6e 20 73 65 6e 64 20 22 | 53 74 65 70 46 77 64 22 |n send "|StepFwd"|
|00004c00| 20 74 6f 20 77 69 6e 64 | 6f 77 20 6d 6f 76 69 65 | to wind|ow movie|
|00004c10| 6e 61 6d 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |name.end| repeat.|
|00004c20| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 6d 6f 76 |close wi|ndow mov|
|00004c30| 69 65 6e 61 6d 65 0d 70 | 75 74 20 22 43 6f 6e 76 |iename.p|ut "Conv|
|00004c40| 65 72 74 65 64 20 4d 4f | 56 49 45 20 69 6e 20 66 |erted MO|VIE in f|
|00004c50| 6f 6c 64 65 72 3a 20 22 | 26 67 46 6f 6c 64 65 72 |older: "|&gFolder|
|00004c60| 4e 61 6d 65 26 22 20 74 | 6f 20 50 49 43 54 20 66 |Name&" t|o PICT f|
|00004c70| 69 6c 65 73 2e 20 20 46 | 72 61 6d 65 73 20 43 6f |iles. F|rames Co|
|00004c80| 6e 76 65 72 74 65 64 3a | 20 22 26 4e 75 6d 62 65 |nverted:| "&Numbe|
|00004c90| 72 46 69 6c 65 73 2d 31 | 26 72 65 74 75 72 6e 20 |rFiles-1|&return |
|00004ca0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 49 6e 66 |into cd |fld "Inf|
|00004cb0| 6f 72 6d 61 74 69 6f 6e | 22 0d 70 75 74 20 22 22 |ormation|".put ""|
|00004cc0| 20 69 6e 74 6f 20 73 6c | 75 72 70 65 65 66 69 6c | into sl|urpeefil|
|00004cd0| 65 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6c 61 |e.put ""| into la|
|00004ce0| 73 74 66 69 6c 65 6e 61 | 6d 65 0d 70 75 74 20 22 |stfilena|me.put "|
|00004cf0| 22 20 69 6e 74 6f 20 4e | 75 6d 62 65 72 46 69 6c |" into N|umberFil|
|00004d00| 65 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |es.set c|ursor to|
|00004d10| 20 61 72 72 6f 77 0d 2d | 2d 20 20 64 6f 4d 65 6e | arrow.-|- doMen|
|00004d20| 75 20 22 43 6f 6d 70 61 | 63 74 20 53 74 61 63 4b |u "Compa|ct StacK|
|00004d30| 22 0d 65 6e 64 20 4d 6f | 76 69 65 4d 61 6b 65 49 |".end Mo|vieMakeI|
|00004d40| 6d 61 67 65 53 6c 75 72 | 70 65 65 46 69 6c 65 0d |mageSlur|peeFile.|
|00004d50| 0d 6f 6e 20 4d 6f 76 69 | 65 4d 61 6b 65 53 6c 75 |.on Movi|eMakeSlu|
|00004d60| 72 70 65 65 46 69 6c 65 | 73 0d 67 6c 6f 62 61 6c |rpeeFile|s.global|
|00004d70| 20 67 46 69 6c 65 62 75 | 66 66 65 72 2c 20 67 4e | gFilebu|ffer, gN|
|00004d80| 61 6d 65 4c 65 6e 67 74 | 68 2c 20 67 4c 61 73 74 |ameLengt|h, gLast|
|00004d90| 46 69 6c 65 2c 20 67 46 | 6f 6c 64 65 72 4e 61 6d |File, gF|olderNam|
|00004da0| 65 2c 20 67 53 6c 75 72 | 70 65 65 46 69 6c 65 4c |e, gSlur|peeFileL|
|00004db0| 69 73 74 0d 61 6e 73 77 | 65 72 20 22 49 73 20 74 |ist.answ|er "Is t|
|00004dc0| 68 65 20 4e 65 77 74 6f | 6e 20 63 6f 6e 6e 65 63 |he Newto|n connec|
|00004dd0| 74 65 64 20 77 69 74 68 | 20 53 6c 75 72 70 65 65 |ted with| Slurpee|
|00004de0| 20 72 75 6e 6e 69 6e 67 | 3f 22 20 77 69 74 68 20 | running|?" with |
|00004df0| 22 4e 6f 22 2c 20 22 59 | 65 73 22 0d 69 66 20 69 |"No", "Y|es".if i|
|00004e00| 74 20 69 73 20 22 4e 6f | 22 20 74 68 65 6e 20 65 |t is "No|" then e|
|00004e10| 78 69 74 20 4d 6f 76 69 | 65 4d 61 6b 65 53 6c 75 |xit Movi|eMakeSlu|
|00004e20| 72 70 65 65 46 69 6c 65 | 73 0d 61 6e 73 77 65 72 |rpeeFile|s.answer|
|00004e30| 20 66 69 6c 65 20 22 4c | 6f 63 61 74 65 20 61 20 | file "L|ocate a |
|00004e40| 4d 4f 56 49 45 20 66 69 | 6c 65 20 74 6f 20 74 72 |MOVIE fi|le to tr|
|00004e50| 61 6e 73 66 65 72 3a 22 | 0d 70 75 74 20 69 74 20 |ansfer:"|.put it |
|00004e60| 69 6e 74 6f 20 70 69 63 | 74 66 69 6c 65 0d 70 75 |into pic|tfile.pu|
|00004e70| 74 20 22 22 20 69 6e 74 | 6f 20 6d 6f 76 69 65 6e |t "" int|o movien|
|00004e80| 61 6d 65 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 4e |ame.put |1 into N|
|00004e90| 75 6d 62 65 72 46 69 6c | 65 73 0d 69 66 20 70 69 |umberFil|es.if pi|
|00004ea0| 63 74 66 69 6c 65 20 69 | 73 20 65 6d 70 74 79 20 |ctfile i|s empty |
|00004eb0| 74 68 65 6e 20 65 78 69 | 74 20 4d 6f 76 69 65 4d |then exi|t MovieM|
|00004ec0| 61 6b 65 53 6c 75 72 70 | 65 65 46 69 6c 65 73 0d |akeSlurp|eeFiles.|
|00004ed0| 61 6e 73 77 65 72 20 22 | 43 6f 6e 76 65 72 74 20 |answer "|Convert |
|00004ee0| 61 6c 6c 20 66 72 61 6d | 65 73 20 6f 72 20 73 6b |all fram|es or sk|
|00004ef0| 69 70 20 65 76 65 72 79 | 20 6f 74 68 65 72 20 66 |ip every| other f|
|00004f00| 72 61 6d 65 3f 22 20 77 | 69 74 68 20 22 53 6b 69 |rame?" w|ith "Ski|
|00004f10| 70 20 46 72 61 6d 65 73 | 22 20 6f 72 20 22 41 6c |p Frames|" or "Al|
|00004f20| 6c 20 46 72 61 6d 65 73 | 22 0d 70 75 74 20 69 74 |l Frames|".put it|
|00004f30| 20 69 6e 74 6f 20 73 6b | 69 70 66 72 61 6d 65 73 | into sk|ipframes|
|00004f40| 0d 61 73 6b 20 22 45 6e | 74 65 72 20 61 20 73 6f |.ask "En|ter a so|
|00004f50| 75 70 20 6e 61 6d 65 3a | 20 22 20 77 69 74 68 20 |up name:| " with |
|00004f60| 22 42 69 74 6d 61 70 73 | 22 0d 70 75 74 20 69 74 |"Bitmaps|".put it|
|00004f70| 20 69 6e 74 6f 20 73 6f | 75 70 6e 61 6d 65 0d 2d | into so|upname.-|
|00004f80| 2d 20 20 69 66 20 73 6f | 75 70 6e 61 6d 65 20 69 |- if so|upname i|
|00004f90| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00004fa0| 20 22 42 69 74 6d 61 70 | 73 22 20 69 6e 74 6f 20 | "Bitmap|s" into |
|00004fb0| 73 6f 75 70 6e 61 6d 65 | 0d 69 66 20 73 6f 75 70 |soupname|.if soup|
|00004fc0| 6e 61 6d 65 20 69 73 20 | 65 6d 70 74 79 20 74 68 |name is |empty th|
|00004fd0| 65 6e 20 65 78 69 74 20 | 4d 6f 76 69 65 4d 61 6b |en exit |MovieMak|
|00004fe0| 65 53 6c 75 72 70 65 65 | 46 69 6c 65 73 0d 73 65 |eSlurpee|Files.se|
|00004ff0| 74 43 6f 6e 6e 65 63 74 | 69 6f 6e 0d 70 75 74 20 |tConnect|ion.put |
|00005000| 6c 65 6e 67 74 68 28 70 | 69 63 74 66 69 6c 65 29 |length(p|ictfile)|
|00005010| 20 69 6e 74 6f 20 63 68 | 61 72 63 6f 75 6e 74 65 | into ch|arcounte|
|00005020| 72 0d 72 65 70 65 61 74 | 0d 69 66 20 63 68 61 72 |r.repeat|.if char|
|00005030| 61 63 74 65 72 20 63 68 | 61 72 63 6f 75 6e 74 65 |acter ch|arcounte|
|00005040| 72 20 6f 66 20 70 69 63 | 74 66 69 6c 65 20 69 73 |r of pic|tfile is|
|00005050| 20 22 3a 22 20 74 68 65 | 6e 20 65 78 69 74 20 72 | ":" the|n exit r|
|00005060| 65 70 65 61 74 0d 70 75 | 74 20 28 63 68 61 72 61 |epeat.pu|t (chara|
|00005070| 63 74 65 72 20 63 68 61 | 72 63 6f 75 6e 74 65 72 |cter cha|rcounter|
|00005080| 20 6f 66 20 70 69 63 74 | 66 69 6c 65 29 20 26 20 | of pict|file) & |
|00005090| 6d 6f 76 69 65 6e 61 6d | 65 20 69 6e 74 6f 20 6d |movienam|e into m|
|000050a0| 6f 76 69 65 6e 61 6d 65 | 0d 70 75 74 20 63 68 61 |oviename|.put cha|
|000050b0| 72 63 6f 75 6e 74 65 72 | 2d 31 20 69 6e 74 6f 20 |rcounter|-1 into |
|000050c0| 63 68 61 72 63 6f 75 6e | 74 65 72 0d 69 66 20 63 |charcoun|ter.if c|
|000050d0| 68 61 72 63 6f 75 6e 74 | 65 72 20 3c 20 31 20 74 |harcount|er < 1 t|
|000050e0| 68 65 6e 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |hen exit| repeat.|
|000050f0| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 63 |end repe|at.put c|
|00005100| 68 61 72 61 63 74 65 72 | 20 31 20 74 6f 20 63 68 |haracter| 1 to ch|
|00005110| 61 72 63 6f 75 6e 74 65 | 72 20 6f 66 20 70 69 63 |arcounte|r of pic|
|00005120| 74 66 69 6c 65 20 69 6e | 74 6f 20 67 46 6f 6c 64 |tfile in|to gFold|
|00005130| 65 72 4e 61 6d 65 0d 67 | 6f 20 63 61 72 64 20 34 |erName.g|o card 4|
|00005140| 0d 6d 6f 76 69 65 20 70 | 69 63 74 66 69 6c 65 2c |.movie p|ictfile,|
|00005150| 22 77 69 6e 64 6f 69 64 | 22 0d 73 65 74 20 74 68 |"windoid|".set th|
|00005160| 65 20 74 69 6d 65 66 6f | 72 6d 61 74 20 6f 66 20 |e timefo|rmat of |
|00005170| 77 69 6e 64 6f 77 20 6d | 6f 76 69 65 6e 61 6d 65 |window m|oviename|
|00005180| 20 74 6f 20 22 4d 6f 76 | 69 65 54 69 6d 65 22 0d | to "Mov|ieTime".|
|00005190| 70 75 74 20 74 68 65 20 | 65 6e 64 74 69 6d 65 20 |put the |endtime |
|000051a0| 6f 66 20 77 69 6e 64 6f | 77 20 6d 6f 76 69 65 6e |of windo|w movien|
|000051b0| 61 6d 65 20 69 6e 74 6f | 20 6e 75 6d 46 72 61 6d |ame into| numFram|
|000051c0| 65 73 0d 72 65 70 65 61 | 74 0d 69 66 20 28 63 75 |es.repea|t.if (cu|
|000051d0| 72 72 74 69 6d 65 20 6f | 66 20 77 69 6e 64 6f 77 |rrtime o|f window|
|000051e0| 20 6d 6f 76 69 65 6e 61 | 6d 65 29 20 3e 3d 20 6e | moviena|me) >= n|
|000051f0| 75 6d 46 72 61 6d 65 73 | 20 74 68 65 6e 20 65 78 |umFrames| then ex|
|00005200| 69 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 70 69 |it repea|t.put pi|
|00005210| 63 74 66 69 6c 65 26 4e | 75 6d 62 65 72 46 69 6c |ctfile&N|umberFil|
|00005220| 65 73 20 69 6e 74 6f 20 | 66 72 61 6d 65 73 6e 61 |es into |framesna|
|00005230| 6d 65 0d 70 75 74 20 6d | 6f 76 69 65 6e 61 6d 65 |me.put m|oviename|
|00005240| 26 4e 75 6d 62 65 72 46 | 69 6c 65 73 20 69 6e 74 |&NumberF|iles int|
|00005250| 6f 20 73 68 6f 72 74 66 | 72 61 6d 65 6e 61 6d 65 |o shortf|ramename|
|00005260| 0d 69 66 20 4e 75 6d 62 | 65 72 46 69 6c 65 73 20 |.if Numb|erFiles |
|00005270| 3c 20 31 30 30 20 74 68 | 65 6e 20 70 75 74 20 70 |< 100 th|en put p|
|00005280| 69 63 74 66 69 6c 65 26 | 22 30 22 26 4e 75 6d 62 |ictfile&|"0"&Numb|
|00005290| 65 72 46 69 6c 65 73 20 | 69 6e 74 6f 20 66 72 61 |erFiles |into fra|
|000052a0| 6d 65 73 6e 61 6d 65 0d | 69 66 20 4e 75 6d 62 65 |mesname.|if Numbe|
|000052b0| 72 46 69 6c 65 73 20 3c | 20 31 30 20 74 68 65 6e |rFiles <| 10 then|
|000052c0| 20 70 75 74 20 70 69 63 | 74 66 69 6c 65 26 22 30 | put pic|tfile&"0|
|000052d0| 30 22 26 4e 75 6d 62 65 | 72 46 69 6c 65 73 20 69 |0"&Numbe|rFiles i|
|000052e0| 6e 74 6f 20 66 72 61 6d | 65 73 6e 61 6d 65 0d 69 |nto fram|esname.i|
|000052f0| 66 20 4e 75 6d 62 65 72 | 46 69 6c 65 73 20 3c 20 |f Number|Files < |
|00005300| 31 30 30 20 74 68 65 6e | 20 70 75 74 20 6d 6f 76 |100 then| put mov|
|00005310| 69 65 6e 61 6d 65 26 22 | 30 22 26 4e 75 6d 62 65 |iename&"|0"&Numbe|
|00005320| 72 46 69 6c 65 73 20 69 | 6e 74 6f 20 73 68 6f 72 |rFiles i|nto shor|
|00005330| 74 66 72 61 6d 65 6e 61 | 6d 65 0d 69 66 20 4e 75 |tframena|me.if Nu|
|00005340| 6d 62 65 72 46 69 6c 65 | 73 20 3c 20 31 30 20 74 |mberFile|s < 10 t|
|00005350| 68 65 6e 20 70 75 74 20 | 6d 6f 76 69 65 6e 61 6d |hen put |movienam|
|00005360| 65 26 22 30 30 22 26 4e | 75 6d 62 65 72 46 69 6c |e&"00"&N|umberFil|
|00005370| 65 73 20 69 6e 74 6f 20 | 73 68 6f 72 74 66 72 61 |es into |shortfra|
|00005380| 6d 65 6e 61 6d 65 0d 73 | 65 6e 64 20 22 43 6f 70 |mename.s|end "Cop|
|00005390| 79 46 72 61 6d 65 22 20 | 74 6f 20 77 69 6e 64 6f |yFrame" |to windo|
|000053a0| 77 20 6d 6f 76 69 65 6e | 61 6d 65 0d 64 6f 4d 65 |w movien|ame.doMe|
|000053b0| 6e 75 20 22 50 61 73 74 | 65 20 50 69 63 74 75 72 |nu "Past|e Pictur|
|000053c0| 65 22 0d 64 6f 4d 65 6e | 75 20 22 43 75 74 20 50 |e".doMen|u "Cut P|
|000053d0| 69 63 74 75 72 65 22 0d | 63 68 6f 6f 73 65 20 62 |icture".|choose b|
|000053e0| 72 6f 77 73 65 20 74 6f | 6f 6c 0d 73 65 74 20 63 |rowse to|ol.set c|
|000053f0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 70 |ursor to| watch.p|
|00005400| 75 74 20 43 6f 6e 6a 75 | 72 65 20 28 22 2a 2a 2a |ut Conju|re ("***|
|00005410| 2a 48 65 78 20 44 75 6d | 70 22 2c 22 50 49 43 54 |*Hex Dum|p","PICT|
|00005420| 22 29 20 69 6e 74 6f 20 | 54 65 6d 70 42 75 66 66 |") into |TempBuff|
|00005430| 65 72 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 43 |er.put "|" into C|
|00005440| 6c 69 70 62 6f 61 72 64 | 0d 70 75 74 20 66 72 61 |lipboard|.put fra|
|00005450| 6d 65 73 6e 61 6d 65 26 | 22 2e 73 6c 70 22 20 69 |mesname&|".slp" i|
|00005460| 6e 74 6f 20 6e 65 77 66 | 69 6c 65 6e 61 6d 65 0d |nto newf|ilename.|
|00005470| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 67 46 69 6c |put "" i|nto gFil|
|00005480| 65 62 75 66 66 65 72 0d | 70 75 74 20 73 6f 75 70 |ebuffer.|put soup|
|00005490| 6e 61 6d 65 26 22 21 5b | 7b 73 74 72 75 63 74 75 |name&"![|{structu|
|000054a0| 72 65 3a 20 27 73 6c 6f | 74 2c 20 70 61 74 68 3a |re: 'slo|t, path:|
|000054b0| 20 27 6e 61 6d 65 2c 20 | 74 79 70 65 3a 20 27 73 | 'name, |type: 's|
|000054c0| 79 6d 62 6f 6c 7d 2c 5d | 22 26 72 65 74 75 72 6e |ymbol},]|"&return|
|000054d0| 20 69 6e 74 6f 20 67 46 | 69 6c 65 62 75 66 66 65 | into gF|ilebuffe|
|000054e0| 72 0d 70 75 74 20 67 46 | 69 6c 65 62 75 66 66 65 |r.put gF|ilebuffe|
|000054f0| 72 26 22 7b 6e 61 6d 65 | 3a 20 27 73 79 6d 62 6f |r&"{name|: 'symbo|
|00005500| 6c 2c 20 62 69 74 6d 61 | 70 3a 20 20 22 26 71 75 |l, bitma|p: "&qu|
|00005510| 6f 74 65 26 70 69 63 74 | 75 72 65 26 71 75 6f 74 |ote&pict|ure"|
|00005520| 65 26 22 7d 22 26 72 65 | 74 75 72 6e 20 69 6e 74 |e&"}"&re|turn int|
|00005530| 6f 20 67 46 69 6c 65 62 | 75 66 66 65 72 0d 70 75 |o gFileb|uffer.pu|
|00005540| 74 20 67 46 69 6c 65 62 | 75 66 66 65 72 26 73 68 |t gFileb|uffer&sh|
|00005550| 6f 72 74 66 72 61 6d 65 | 6e 61 6d 65 26 22 09 21 |ortframe|name&".!|
|00005560| 5c 22 26 72 65 74 75 72 | 6e 20 69 6e 74 6f 20 67 |\"&retur|n into g|
|00005570| 46 69 6c 65 62 75 66 66 | 65 72 0d 70 75 74 20 6c |Filebuff|er.put l|
|00005580| 61 73 74 20 6c 69 6e 65 | 20 6f 66 20 74 65 6d 70 |ast line| of temp|
|00005590| 62 75 66 66 65 72 20 69 | 6e 74 6f 20 6c 61 73 74 |buffer i|nto last|
|000055a0| 6c 69 6e 65 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |line.del|ete last|
|000055b0| 20 6c 69 6e 65 20 6f 66 | 20 74 65 6d 70 62 75 66 | line of| tempbuf|
|000055c0| 66 65 72 0d 70 75 74 20 | 72 65 70 6c 61 63 65 28 |fer.put |replace(|
|000055d0| 74 65 6d 70 62 75 66 66 | 65 72 2c 72 65 74 75 72 |tempbuff|er,retur|
|000055e0| 6e 2c 22 5c 22 26 72 65 | 74 75 72 6e 2c 66 61 6c |n,"\"&re|turn,fal|
|000055f0| 73 65 29 20 69 6e 74 6f | 20 6e 65 77 74 65 6d 70 |se) into| newtemp|
|00005600| 62 75 66 66 65 72 0d 70 | 75 74 20 67 46 69 6c 65 |buffer.p|ut gFile|
|00005610| 62 75 66 66 65 72 26 6e | 65 77 74 65 6d 70 62 75 |buffer&n|ewtempbu|
|00005620| 66 66 65 72 20 69 6e 74 | 6f 20 67 46 69 6c 65 62 |ffer int|o gFileb|
|00005630| 75 66 66 65 72 0d 70 75 | 74 20 67 46 69 6c 65 62 |uffer.pu|t gFileb|
|00005640| 75 66 66 65 72 26 6c 61 | 73 74 6c 69 6e 65 26 72 |uffer&la|stline&r|
|00005650| 65 74 75 72 6e 20 69 6e | 74 6f 20 67 46 69 6c 65 |eturn in|to gFile|
|00005660| 62 75 66 66 65 72 0d 70 | 75 74 20 67 46 69 6c 65 |buffer.p|ut gFile|
|00005670| 62 75 66 66 65 72 26 72 | 65 74 75 72 6e 26 22 42 |buffer&r|eturn&"B|
|00005680| 59 45 21 22 26 72 65 74 | 75 72 6e 20 69 6e 74 6f |YE!"&ret|urn into|
|00005690| 20 67 46 69 6c 65 62 75 | 66 66 65 72 0d 70 75 74 | gFilebu|ffer.put|
|000056a0| 20 22 22 20 69 6e 74 6f | 20 54 65 6d 70 42 75 66 | "" into| TempBuf|
|000056b0| 66 65 72 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |fer.put |"" into |
|000056c0| 6e 65 77 74 65 6d 70 62 | 75 66 66 65 72 0d 72 65 |newtempb|uffer.re|
|000056d0| 70 65 61 74 0d 69 66 20 | 67 46 69 6c 65 62 75 66 |peat.if |gFilebuf|
|000056e0| 66 65 72 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |fer is e|mpty the|
|000056f0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 73 65 |n exit r|epeat.se|
|00005700| 6e 64 53 50 6f 72 74 20 | 63 68 61 72 20 31 20 74 |ndSPort |char 1 t|
|00005710| 6f 20 38 30 20 6f 66 20 | 67 46 69 6c 65 62 75 66 |o 80 of |gFilebuf|
|00005720| 66 65 72 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |fer.dele|te char |
|00005730| 31 20 74 6f 20 38 30 20 | 6f 66 20 67 46 69 6c 65 |1 to 80 |of gFile|
|00005740| 62 75 66 66 65 72 0d 65 | 6e 64 20 72 65 70 65 61 |buffer.e|nd repea|
|00005750| 74 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 67 46 |t.put ""| into gF|
|00005760| 69 6c 65 62 75 66 66 65 | 72 0d 73 65 74 20 63 75 |ilebuffe|r.set cu|
|00005770| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00005780| 74 20 4e 75 6d 62 65 72 | 46 69 6c 65 73 20 2b 20 |t Number|Files + |
|00005790| 31 20 69 6e 74 6f 20 4e | 75 6d 62 65 72 46 69 6c |1 into N|umberFil|
|000057a0| 65 73 0d 73 65 6e 64 20 | 22 53 74 65 70 46 77 64 |es.send |"StepFwd|
|000057b0| 22 20 74 6f 20 77 69 6e | 64 6f 77 20 6d 6f 76 69 |" to win|dow movi|
|000057c0| 65 6e 61 6d 65 0d 69 66 | 20 73 6b 69 70 66 72 61 |ename.if| skipfra|
|000057d0| 6d 65 73 20 3d 20 22 53 | 6b 69 70 20 46 72 61 6d |mes = "S|kip Fram|
|000057e0| 65 73 22 20 74 68 65 6e | 20 73 65 6e 64 20 22 53 |es" then| send "S|
|000057f0| 74 65 70 46 77 64 22 20 | 74 6f 20 77 69 6e 64 6f |tepFwd" |to windo|
|00005800| 77 20 6d 6f 76 69 65 6e | 61 6d 65 0d 65 6e 64 20 |w movien|ame.end |
|00005810| 72 65 70 65 61 74 0d 63 | 6c 6f 73 65 20 77 69 6e |repeat.c|lose win|
|00005820| 64 6f 77 20 6d 6f 76 69 | 65 6e 61 6d 65 0d 67 6f |dow movi|ename.go|
|00005830| 20 63 61 72 64 20 31 0d | 44 69 73 63 6f 6e 6e 65 | card 1.|Disconne|
|00005840| 63 74 46 72 6f 6d 4e 65 | 77 74 6f 6e 0d 70 75 74 |ctFromNe|wton.put|
|00005850| 20 22 53 65 6e 74 20 4d | 4f 56 49 45 3a 20 22 26 | "Sent M|OVIE: "&|
|00005860| 6d 6f 76 69 65 6e 61 6d | 65 26 22 20 74 6f 20 4e |movienam|e&" to N|
|00005870| 65 77 74 6f 6e 20 73 6f | 75 70 3a 22 26 73 6f 75 |ewton so|up:"&sou|
|00005880| 70 6e 61 6d 65 26 22 2e | 20 20 46 72 61 6d 65 73 |pname&".| Frames|
|00005890| 20 73 65 6e 74 3a 20 22 | 26 4e 75 6d 62 65 72 46 | sent: "|&NumberF|
|000058a0| 69 6c 65 73 2d 31 26 72 | 65 74 75 72 6e 20 69 6e |iles-1&r|eturn in|
|000058b0| 74 6f 20 63 64 20 66 6c | 64 20 22 49 6e 66 6f 72 |to cd fl|d "Infor|
|000058c0| 6d 61 74 69 6f 6e 22 0d | 70 75 74 20 22 22 20 69 |mation".|put "" i|
|000058d0| 6e 74 6f 20 73 6c 75 72 | 70 65 65 66 69 6c 65 0d |nto slur|peefile.|
|000058e0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 6c 61 73 74 |put "" i|nto last|
|000058f0| 66 69 6c 65 6e 61 6d 65 | 0d 70 75 74 20 22 22 20 |filename|.put "" |
|00005900| 69 6e 74 6f 20 4e 75 6d | 62 65 72 46 69 6c 65 73 |into Num|berFiles|
|00005910| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 61 |.set cur|sor to a|
|00005920| 72 72 6f 77 0d 2d 2d 20 | 20 64 6f 4d 65 6e 75 20 |rrow.-- | doMenu |
|00005930| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 4b 22 0d |"Compact| StacK".|
|00005940| 65 6e 64 20 4d 6f 76 69 | 65 4d 61 6b 65 53 6c 75 |end Movi|eMakeSlu|
|00005950| 72 70 65 65 46 69 6c 65 | 73 0d 0d 6f 6e 20 4f 6e |rpeeFile|s..on On|
|00005960| 65 50 69 63 74 32 4e 65 | 77 74 6f 6e 0d 67 6c 6f |ePict2Ne|wton.glo|
|00005970| 62 61 6c 20 67 4c 61 73 | 74 46 69 6c 65 0d 61 6e |bal gLas|tFile.an|
|00005980| 73 77 65 72 20 22 49 73 | 20 74 68 65 20 4e 65 77 |swer "Is| the New|
|00005990| 74 6f 6e 20 63 6f 6e 6e | 65 63 74 65 64 20 77 69 |ton conn|ected wi|
|000059a0| 74 68 20 53 6c 75 72 70 | 65 65 20 72 75 6e 6e 69 |th Slurp|ee runni|
|000059b0| 6e 67 3f 22 20 77 69 74 | 68 20 22 4e 6f 22 2c 20 |ng?" wit|h "No", |
|000059c0| 22 59 65 73 22 0d 69 66 | 20 69 74 20 69 73 20 22 |"Yes".if| it is "|
|000059d0| 4e 6f 22 20 74 68 65 6e | 20 65 78 69 74 20 4f 6e |No" then| exit On|
|000059e0| 65 50 69 63 74 32 4e 65 | 77 74 6f 6e 0d 61 6e 73 |ePict2Ne|wton.ans|
|000059f0| 77 65 72 20 66 69 6c 65 | 20 22 53 65 6c 65 63 74 |wer file| "Select|
|00005a00| 20 61 20 50 49 43 54 20 | 66 69 6c 65 20 74 6f 20 | a PICT |file to |
|00005a10| 74 72 61 6e 73 66 65 72 | 2e 22 26 72 65 74 75 72 |transfer|."&retur|
|00005a20| 6e 26 67 4c 61 73 74 46 | 69 6c 65 0d 69 66 20 69 |n&gLastF|ile.if i|
|00005a30| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|00005a40| 65 78 69 74 20 4f 6e 65 | 50 69 63 74 32 4e 65 77 |exit One|Pict2New|
|00005a50| 74 6f 6e 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ton.put |it into |
|00005a60| 70 69 63 74 66 69 6c 65 | 0d 70 75 74 20 6c 65 6e |pictfile|.put len|
|00005a70| 67 74 68 28 70 69 63 74 | 66 69 6c 65 29 20 69 6e |gth(pict|file) in|
|00005a80| 74 6f 20 63 68 61 72 63 | 6f 75 6e 74 65 72 0d 70 |to charc|ounter.p|
|00005a90| 75 74 20 22 22 20 69 6e | 74 6f 20 77 69 6e 64 6f |ut "" in|to windo|
|00005aa0| 77 6e 61 6d 65 0d 72 65 | 70 65 61 74 0d 69 66 20 |wname.re|peat.if |
|00005ab0| 63 68 61 72 61 63 74 65 | 72 20 63 68 61 72 63 6f |characte|r charco|
|00005ac0| 75 6e 74 65 72 20 6f 66 | 20 70 69 63 74 66 69 6c |unter of| pictfil|
|00005ad0| 65 20 69 73 20 22 3a 22 | 20 74 68 65 6e 20 65 78 |e is ":"| then ex|
|00005ae0| 69 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 28 63 |it repea|t.put (c|
|00005af0| 68 61 72 61 63 74 65 72 | 20 63 68 61 72 63 6f 75 |haracter| charcou|
|00005b00| 6e 74 65 72 20 6f 66 20 | 70 69 63 74 66 69 6c 65 |nter of |pictfile|
|00005b10| 29 20 26 20 77 69 6e 64 | 6f 77 6e 61 6d 65 20 69 |) & wind|owname i|
|00005b20| 6e 74 6f 20 77 69 6e 64 | 6f 77 6e 61 6d 65 0d 70 |nto wind|owname.p|
|00005b30| 75 74 20 63 68 61 72 63 | 6f 75 6e 74 65 72 2d 31 |ut charc|ounter-1|
|00005b40| 20 69 6e 74 6f 20 63 68 | 61 72 63 6f 75 6e 74 65 | into ch|arcounte|
|00005b50| 72 0d 69 66 20 63 68 61 | 72 63 6f 75 6e 74 65 72 |r.if cha|rcounter|
|00005b60| 20 3c 20 31 20 74 68 65 | 6e 20 65 78 69 74 20 72 | < 1 the|n exit r|
|00005b70| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00005b80| 0d 61 6e 73 77 65 72 20 | 22 53 68 72 69 6e 6b 20 |.answer |"Shrink |
|00005b90| 62 69 67 20 69 6d 61 67 | 65 73 20 74 6f 20 66 69 |big imag|es to fi|
|00005ba0| 74 20 4e 65 77 74 6f 6e | 3f 22 20 77 69 74 68 20 |t Newton|?" with |
|00005bb0| 22 4e 6f 22 2c 20 22 59 | 65 73 22 0d 70 75 74 20 |"No", "Y|es".put |
|00005bc0| 69 74 20 69 6e 74 6f 20 | 73 63 61 6c 65 0d 73 65 |it into |scale.se|
|00005bd0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00005be0| 68 0d 67 6f 20 63 61 72 | 64 20 34 0d 50 69 63 74 |h.go car|d 4.Pict|
|00005bf0| 54 6f 43 6c 69 70 20 70 | 69 63 74 66 69 6c 65 2c |ToClip p|ictfile,|
|00005c00| 20 22 66 69 6c 65 22 2c | 20 74 72 75 65 0d 69 66 | "file",| true.if|
|00005c10| 20 73 63 61 6c 65 20 69 | 73 20 22 59 65 73 22 20 | scale i|s "Yes" |
|00005c20| 74 68 65 6e 0d 67 65 74 | 20 63 6c 69 70 50 69 63 |then.get| clipPic|
|00005c30| 74 49 6e 66 6f 28 29 0d | 70 75 74 20 69 74 65 6d |tInfo().|put item|
|00005c40| 20 31 20 6f 66 20 6c 69 | 6e 65 20 35 20 6f 66 20 | 1 of li|ne 5 of |
|00005c50| 69 74 20 69 6e 74 6f 20 | 70 69 63 62 6f 75 6e 64 |it into |picbound|
|00005c60| 78 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |x.put it|em 2 of |
|00005c70| 6c 69 6e 65 20 35 20 6f | 66 20 69 74 20 69 6e 74 |line 5 o|f it int|
|00005c80| 6f 20 70 69 63 62 6f 75 | 6e 64 79 0d 69 66 20 28 |o picbou|ndy.if (|
|00005c90| 70 69 63 62 6f 75 6e 64 | 78 20 3c 20 70 69 63 62 |picbound|x < picb|
|00005ca0| 6f 75 6e 64 79 29 20 61 | 6e 64 20 28 28 70 69 63 |oundy) a|nd ((pic|
|00005cb0| 62 6f 75 6e 64 78 20 3e | 20 32 33 34 29 20 6f 72 |boundx >| 234) or|
|00005cc0| 20 28 70 69 63 62 6f 75 | 6e 64 79 20 3e 20 32 39 | (picbou|ndy > 29|
|00005cd0| 30 29 29 20 74 68 65 6e | 20 50 69 63 74 54 6f 43 |0)) then| PictToC|
|00005ce0| 6c 69 70 20 70 69 63 74 | 66 69 6c 65 2c 20 22 66 |lip pict|file, "f|
|00005cf0| 69 6c 65 22 2c 20 74 72 | 75 65 2c 20 22 6b 65 65 |ile", tr|ue, "kee|
|00005d00| 70 20 70 72 6f 70 2e 22 | 2c 20 22 32 33 34 2c 32 |p prop."|, "234,2|
|00005d10| 39 30 22 0d 69 66 20 28 | 70 69 63 62 6f 75 6e 64 |90".if (|picbound|
|00005d20| 78 20 3e 20 70 69 63 62 | 6f 75 6e 64 79 29 20 61 |x > picb|oundy) a|
|00005d30| 6e 64 20 28 28 70 69 63 | 62 6f 75 6e 64 78 20 3e |nd ((pic|boundx >|
|00005d40| 20 33 31 34 29 20 6f 72 | 20 28 70 69 63 62 6f 75 | 314) or| (picbou|
|00005d50| 6e 64 79 20 3e 20 32 31 | 30 29 29 20 74 68 65 6e |ndy > 21|0)) then|
|00005d60| 20 50 69 63 74 54 6f 43 | 6c 69 70 20 70 69 63 74 | PictToC|lip pict|
|00005d70| 66 69 6c 65 2c 20 22 66 | 69 6c 65 22 2c 20 74 72 |file, "f|ile", tr|
|00005d80| 75 65 2c 20 22 6b 65 65 | 70 20 70 72 6f 70 2e 22 |ue, "kee|p prop."|
|00005d90| 2c 20 22 33 31 34 2c 32 | 31 30 22 0d 65 6e 64 20 |, "314,2|10".end |
|00005da0| 69 66 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |if.doMen|u "Paste|
|00005db0| 20 50 69 63 74 75 72 65 | 22 0d 64 6f 4d 65 6e 75 | Picture|".doMenu|
|00005dc0| 20 22 43 75 74 20 50 69 | 63 74 75 72 65 22 0d 63 | "Cut Pi|cture".c|
|00005dd0| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00005de0| 6c 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |l.set cu|rsor to |
|00005df0| 77 61 74 63 68 0d 67 6f | 20 63 61 72 64 20 31 0d |watch.go| card 1.|
|00005e00| 61 73 6b 20 22 45 6e 74 | 65 72 20 61 20 73 6f 75 |ask "Ent|er a sou|
|00005e10| 70 20 6e 61 6d 65 3a 20 | 22 20 77 69 74 68 20 22 |p name: |" with "|
|00005e20| 42 69 74 6d 61 70 73 22 | 0d 70 75 74 20 69 74 20 |Bitmaps"|.put it |
|00005e30| 69 6e 74 6f 20 73 6f 75 | 70 6e 61 6d 65 0d 2d 2d |into sou|pname.--|
|00005e40| 69 66 20 73 6f 75 70 6e | 61 6d 65 20 69 73 20 65 |if soupn|ame is e|
|00005e50| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 22 42 |mpty the|n put "B|
|00005e60| 69 74 6d 61 70 73 22 20 | 69 6e 74 6f 20 73 6f 75 |itmaps" |into sou|
|00005e70| 70 6e 61 6d 65 0d 69 66 | 20 73 6f 75 70 6e 61 6d |pname.if| soupnam|
|00005e80| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |e is emp|ty then |
|00005e90| 65 78 69 74 20 4f 6e 65 | 50 69 63 74 32 4e 65 77 |exit One|Pict2New|
|00005ea0| 74 6f 6e 0d 70 75 74 20 | 43 6f 6e 6a 75 72 65 20 |ton.put |Conjure |
|00005eb0| 28 22 2a 2a 2a 2a 48 65 | 78 20 44 75 6d 70 22 2c |("****He|x Dump",|
|00005ec0| 22 50 49 43 54 22 29 20 | 69 6e 74 6f 20 54 65 6d |"PICT") |into Tem|
|00005ed0| 70 42 75 66 66 65 72 0d | 70 75 74 20 22 22 20 69 |pBuffer.|put "" i|
|00005ee0| 6e 74 6f 20 43 6c 69 70 | 62 6f 61 72 64 0d 70 75 |nto Clip|board.pu|
|00005ef0| 74 20 73 6f 75 70 6e 61 | 6d 65 26 22 21 5b 7b 73 |t soupna|me&"![{s|
|00005f00| 74 72 75 63 74 75 72 65 | 3a 20 27 73 6c 6f 74 2c |tructure|: 'slot,|
|00005f10| 20 70 61 74 68 3a 20 27 | 6e 61 6d 65 2c 20 74 79 | path: '|name, ty|
|00005f20| 70 65 3a 20 27 73 79 6d | 62 6f 6c 7d 2c 5d 22 26 |pe: 'sym|bol},]"&|
|00005f30| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 67 46 69 6c |return i|nto gFil|
|00005f40| 65 42 75 66 66 65 72 0d | 70 75 74 20 67 46 69 6c |eBuffer.|put gFil|
|00005f50| 65 42 75 66 66 65 72 26 | 22 7b 6e 61 6d 65 3a 20 |eBuffer&|"{name: |
|00005f60| 27 73 79 6d 62 6f 6c 2c | 20 62 69 74 6d 61 70 3a |'symbol,| bitmap:|
|00005f70| 20 20 22 26 71 75 6f 74 | 65 26 70 69 63 74 75 72 | ""|e&pictur|
|00005f80| 65 26 71 75 6f 74 65 26 | 22 7d 22 26 72 65 74 75 |e"e&|"}"&retu|
|00005f90| 72 6e 20 69 6e 74 6f 20 | 67 46 69 6c 65 42 75 66 |rn into |gFileBuf|
|00005fa0| 66 65 72 0d 70 75 74 20 | 67 46 69 6c 65 42 75 66 |fer.put |gFileBuf|
|00005fb0| 66 65 72 26 77 69 6e 64 | 6f 77 6e 61 6d 65 26 22 |fer&wind|owname&"|
|00005fc0| 09 21 5c 22 26 72 65 74 | 75 72 6e 20 69 6e 74 6f |.!\"&ret|urn into|
|00005fd0| 20 67 46 69 6c 65 42 75 | 66 66 65 72 0d 70 75 74 | gFileBu|ffer.put|
|00005fe0| 20 6c 61 73 74 20 6c 69 | 6e 65 20 6f 66 20 74 65 | last li|ne of te|
|00005ff0| 6d 70 62 75 66 66 65 72 | 20 69 6e 74 6f 20 6c 61 |mpbuffer| into la|
|00006000| 73 74 6c 69 6e 65 0d 64 | 65 6c 65 74 65 20 6c 61 |stline.d|elete la|
|00006010| 73 74 20 6c 69 6e 65 20 | 6f 66 20 74 65 6d 70 62 |st line |of tempb|
|00006020| 75 66 66 65 72 0d 70 75 | 74 20 72 65 70 6c 61 63 |uffer.pu|t replac|
|00006030| 65 28 74 65 6d 70 62 75 | 66 66 65 72 2c 72 65 74 |e(tempbu|ffer,ret|
|00006040| 75 72 6e 2c 22 5c 22 26 | 72 65 74 75 72 6e 2c 66 |urn,"\"&|return,f|
|00006050| 61 6c 73 65 29 20 69 6e | 74 6f 20 6e 65 77 74 65 |alse) in|to newte|
|00006060| 6d 70 62 75 66 66 65 72 | 0d 70 75 74 20 67 46 69 |mpbuffer|.put gFi|
|00006070| 6c 65 62 75 66 66 65 72 | 26 6e 65 77 74 65 6d 70 |lebuffer|&newtemp|
|00006080| 62 75 66 66 65 72 20 69 | 6e 74 6f 20 67 46 69 6c |buffer i|nto gFil|
|00006090| 65 62 75 66 66 65 72 0d | 70 75 74 20 67 46 69 6c |ebuffer.|put gFil|
|000060a0| 65 62 75 66 66 65 72 26 | 6c 61 73 74 6c 69 6e 65 |ebuffer&|lastline|
|000060b0| 26 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 67 46 69 |&return |into gFi|
|000060c0| 6c 65 62 75 66 66 65 72 | 0d 70 75 74 20 67 46 69 |lebuffer|.put gFi|
|000060d0| 6c 65 62 75 66 66 65 72 | 26 72 65 74 75 72 6e 26 |lebuffer|&return&|
|000060e0| 22 42 59 45 21 22 26 72 | 65 74 75 72 6e 20 69 6e |"BYE!"&r|eturn in|
|000060f0| 74 6f 20 67 46 69 6c 65 | 62 75 66 66 65 72 0d 70 |to gFile|buffer.p|
|00006100| 75 74 20 22 22 20 69 6e | 74 6f 20 54 65 6d 70 42 |ut "" in|to TempB|
|00006110| 75 66 66 65 72 0d 70 75 | 74 20 22 22 20 69 6e 74 |uffer.pu|t "" int|
|00006120| 6f 20 6e 65 77 74 65 6d | 70 62 75 66 66 65 72 0d |o newtem|pbuffer.|
|00006130| 70 75 74 20 30 20 69 6e | 74 6f 20 62 79 74 65 43 |put 0 in|to byteC|
|00006140| 6f 75 6e 74 65 72 0d 73 | 65 74 43 6f 6e 6e 65 63 |ounter.s|etConnec|
|00006150| 74 69 6f 6e 0d 70 75 74 | 20 22 54 72 61 6e 73 66 |tion.put| "Transf|
|00006160| 65 72 72 69 6e 67 20 49 | 6d 61 67 65 20 66 69 6c |erring I|mage fil|
|00006170| 65 3a 20 22 26 77 69 6e | 64 6f 77 6e 61 6d 65 26 |e: "&win|downame&|
|00006180| 22 20 74 6f 20 4e 65 77 | 74 6f 6e 20 73 6f 75 70 |" to New|ton soup|
|00006190| 3a 20 22 26 73 6f 75 70 | 6e 61 6d 65 26 22 2e 22 |: "&soup|name&"."|
|000061a0| 26 72 65 74 75 72 6e 26 | 22 50 6c 65 61 73 65 20 |&return&|"Please |
|000061b0| 77 61 69 74 2e 2e 2e 22 | 20 69 6e 74 6f 20 63 64 |wait..."| into cd|
|000061c0| 20 66 6c 64 20 22 49 6e | 66 6f 72 6d 61 74 69 6f | fld "In|formatio|
|000061d0| 6e 22 0d 72 65 70 65 61 | 74 0d 69 66 20 67 46 69 |n".repea|t.if gFi|
|000061e0| 6c 65 62 75 66 66 65 72 | 20 69 73 20 65 6d 70 74 |lebuffer| is empt|
|000061f0| 79 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |y then e|xit repe|
|00006200| 61 74 0d 73 65 6e 64 53 | 50 6f 72 74 20 63 68 61 |at.sendS|Port cha|
|00006210| 72 20 31 20 74 6f 20 38 | 30 20 6f 66 20 67 46 69 |r 1 to 8|0 of gFi|
|00006220| 6c 65 62 75 66 66 65 72 | 0d 64 65 6c 65 74 65 20 |lebuffer|.delete |
|00006230| 63 68 61 72 20 31 20 74 | 6f 20 38 30 20 6f 66 20 |char 1 t|o 80 of |
|00006240| 67 46 69 6c 65 62 75 66 | 66 65 72 0d 70 75 74 20 |gFilebuf|fer.put |
|00006250| 28 62 79 74 65 43 6f 75 | 6e 74 65 72 20 2b 20 38 |(byteCou|nter + 8|
|00006260| 30 29 20 69 6e 74 6f 20 | 62 79 74 65 43 6f 75 6e |0) into |byteCoun|
|00006270| 74 65 72 0d 70 75 74 20 | 62 79 74 65 43 6f 75 6e |ter.put |byteCoun|
|00006280| 74 65 72 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ter into| cd fld |
|00006290| 22 42 79 74 65 73 22 0d | 65 6e 64 20 72 65 70 65 |"Bytes".|end repe|
|000062a0| 61 74 0d 44 69 73 63 6f | 6e 6e 65 63 74 46 72 6f |at.Disco|nnectFro|
|000062b0| 6d 4e 65 77 74 6f 6e 0d | 70 75 74 20 22 22 20 69 |mNewton.|put "" i|
|000062c0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 42 79 74 65 |nto cd f|ld "Byte|
|000062d0| 73 22 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 67 |s".put "|" into g|
|000062e0| 46 69 6c 65 42 75 66 66 | 65 72 0d 73 65 74 20 63 |FileBuff|er.set c|
|000062f0| 75 72 73 6f 72 20 74 6f | 20 61 72 72 6f 77 0d 2d |ursor to| arrow.-|
|00006300| 2d 20 20 64 6f 4d 65 6e | 75 20 22 43 6f 6d 70 61 |- doMen|u "Compa|
|00006310| 63 74 20 53 74 61 63 6b | 22 0d 70 75 74 20 22 54 |ct Stack|".put "T|
|00006320| 72 61 6e 73 66 65 72 72 | 65 64 20 66 69 6c 65 3a |ransferr|ed file:|
|00006330| 20 22 26 77 69 6e 64 6f | 77 6e 61 6d 65 26 22 20 | "&windo|wname&" |
|00006340| 74 6f 20 4e 65 77 74 6f | 6e 20 73 6f 75 70 3a 20 |to Newto|n soup: |
|00006350| 22 26 73 6f 75 70 6e 61 | 6d 65 26 22 2e 22 20 69 |"&soupna|me&"." i|
|00006360| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 49 6e 66 6f |nto cd f|ld "Info|
|00006370| 72 6d 61 74 69 6f 6e 22 | 0d 70 75 74 20 22 4c 61 |rmation"|.put "La|
|00006380| 73 74 20 66 69 6c 65 20 | 77 61 73 3a 20 22 26 77 |st file |was: "&w|
|00006390| 69 6e 64 6f 77 6e 61 6d | 65 20 69 6e 74 6f 20 67 |indownam|e into g|
|000063a0| 4c 61 73 74 46 69 6c 65 | 0d 65 6e 64 20 4f 6e 65 |LastFile|.end One|
|000063b0| 50 69 63 74 32 4e 65 77 | 74 6f 6e 0d 0d 6f 6e 20 |Pict2New|ton..on |
|000063c0| 4d 75 6c 74 69 50 69 63 | 74 73 32 4e 65 77 74 6f |MultiPic|ts2Newto|
|000063d0| 6e 0d 61 6e 73 77 65 72 | 20 22 49 73 20 74 68 65 |n.answer| "Is the|
|000063e0| 20 4e 65 77 74 6f 6e 20 | 63 6f 6e 6e 65 63 74 65 | Newton |connecte|
|000063f0| 64 20 77 69 74 68 20 53 | 6c 75 72 70 65 65 20 72 |d with S|lurpee r|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.